.hk2.hk2-ant-test.4.0.0-M3.source-code.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hk2-ant-test Show documentation
Show all versions of hk2-ant-test Show documentation
Tests Ant running HK2 Inhabitant Generator
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.glassfish.hk2</groupId> <artifactId>hk2-parent</artifactId> <version>4.0.0-M3</version> <relativePath>../../pom.xml</relativePath> </parent> <artifactId>hk2-ant-test</artifactId> <name>HK2 Ant Inhabitant Generator Test</name> <description>Tests Ant running HK2 Inhabitant Generator</description> <properties> <manifest.location></manifest.location> <!-- to make nullifiy the property --> </properties> <dependencies> <dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>hk2-api</artifactId> <version>${project.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>dist</id> <phase>compile</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="maven-classpath" refid="maven.runtime.classpath" /> <ant target="compile" inheritRefs="true" /> </target> </configuration> </execution> <execution> <id>clean</id> <phase>clean</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <property name="maven-classpath" refid="maven.runtime.classpath" /> <ant target="clean" inheritRefs="true" /> </target> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>hk2-inhabitant-generator</artifactId> <version>${project.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> <profiles> <profile> <id>default</id> <activation> <file> <exists>${java.home}/../lib/tools.jar</exists> </file> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools-jar</artifactId> <version>1</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> </profile> <profile> <id>mac</id> <activation> <file> <exists>${java.home}/../Classes/classes.jar</exists> </file> </activation> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <dependencies> <dependency> <groupId>com.sun</groupId> <artifactId>tools-jar</artifactId> <version>1</version> <scope>system</scope> <systemPath>${java.home}/../Classes/classes.jar</systemPath> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> </project>