티스토리 뷰
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
- Ansible
- 리눅스
- 플레이북
- groovy
- 파이프라인
- Linux
- URL Encoding
- Playbook
- 엔시블
- 젠킨스
- JVM
- iTerm2
- openssl
- 쓰레드덤프
- 엔서블
- Docker
- rsync
- Shell Script
- Config History
- ssl
- PostgreSQL
- Password manager
- rundeck
- 데브옵스
- Thread Dump
- Nexus
- DevOps
- vagrant
- Jenkins
- nginx
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함