티스토리 뷰
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
- Heap
- monitoring
- Maven
- docker
- dump
- ubuntu
- svn
- Kubernetes
- Dependency
- ssh
- SMPP
- OOP
- zookeeper
- SBM
- Java
- Jose
- spring
- Tomcat
- bash
- spring boot
- Guava
- EMV
- install
- bouncycastle
- Oracle
- JSF
- nodejs
- Shell
- jboss
- log4j
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함