| <project> |
| <modelVersion>4.0.0</modelVersion> |
| <name>Maven Integration Test :: it0063</name> |
| <groupId>org.apache.maven.its.it0063</groupId> |
| <artifactId>maven-it-it0063</artifactId> |
| <description>Test the use of a system scoped dependency to tools.jar.</description> |
| <packaging>jar</packaging> |
| <version>1.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <!-- NOTE: This will not be activated on OS X, since classes.jar already has the tools in it. --> |
| <id>default-tools.jar</id> |
| <activation> |
| <property> |
| <name>java.vendor</name> |
| <value>Sun Microsystems Inc.</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun</groupId> |
| <artifactId>tools</artifactId> |
| <version>1.4.2</version> |
| <scope>system</scope> |
| <systemPath>${java.home}/../lib/tools.jar</systemPath> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |