티스토리 뷰
Option 1. Use profile with os.family.
<profiles>
<profile>
<id>windows_profile</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>osx_profile</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
</properties>
</profile>
</profiles>
- Activating a profile by default: add the 'activateByDefault' element into the 'activation' element.
<activation>
<activeByDefault>true</activeByDefault>
...
</activation>
Option 2. Use -P option.
<profiles>
<profile>
<id>win</id>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
</profiles>
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Maven
- spring
- ssh
- Shell
- jboss
- monitoring
- log4j
- bash
- dump
- Jose
- SBM
- ubuntu
- OOP
- JSF
- Tomcat
- Oracle
- Dependency
- Guava
- docker
- svn
- SMPP
- spring boot
- install
- bouncycastle
- Java
- Kubernetes
- zookeeper
- nodejs
- Heap
- EMV
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함