티스토리 뷰
pom.xml
<profile>
<id>dev</id>
<build>
<filters>
<filter>src/main/filters/dev.properties</filter>
</filters>
</build>
</profile>
<profile>
<id>svc</id>
<build>
<filters>
<filter>src/main/filters/svc.properties</filter>
</filters>
</build>
</profile>
</profiles>
dev.properties 샘플
db.driver=oracle.jdbc.OracleDriver
db.url=jdbc:oracle:thin:@IP:PORT:SID
db.username=username
db.password=passwd
jenkins 배포 시
Build > Goals and options 에서 'clean package -P svc' 설정
개발일 경우 'clean package -P dev'
'Develop > Framework' 카테고리의 다른 글
Spring Boot: How to get property value (application.properties) (0) | 2019.01.30 |
---|---|
PageRequest 정렬 조건 여러개 넣기 (0) | 2017.05.23 |
[Play Framework] Play 1.x Manual Transaction Sample (0) | 2017.01.24 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 엔서블
- Playbook
- groovy
- openssl
- Thread Dump
- 플레이북
- Password manager
- Shell Script
- 엔시블
- 젠킨스
- vagrant
- 데브옵스
- nginx
- Ansible
- 파이프라인
- JVM
- URL Encoding
- iTerm2
- Config History
- rsync
- 쉘스크립트
- Nexus
- Jenkins
- PostgreSQL
- Docker
- Linux
- ssl
- 리눅스
- DevOps
- 쓰레드덤프
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함