| <?xml version="1.0"?> |
| <project> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-components</artifactId> |
| <version>3</version> |
| </parent> |
| |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-artifact-tools</artifactId> |
| <name>Maven Artifact-Access Tools</name> |
| <version>1.0-SNAPSHOT</version> |
| <url>http://maven.apache.org</url> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-component-descriptor</id> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/testutils/*</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>apache.snapshots</id> |
| <url>http://people.apache.org/repo/m2-snapshot-repository</url> |
| </pluginRepository> |
| </pluginRepositories> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact-manager</artifactId> |
| <version>2.0.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>2.0.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-project</artifactId> |
| <version>2.0.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-file</artifactId> |
| <version>1.0-alpha-7</version> |
| <!-- scope>runtime</scope --> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-http-lightweight</artifactId> |
| <version>1.0-alpha-6</version> |
| <!-- scope>runtime</scope --> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <version>1.2_Java1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-test-tools</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>integration-tests</id> |
| <activation> |
| <property> |
| <name>integration-tests</name> |
| <value>true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>src/it</directory> |
| <includes> |
| <include>**/target</include> |
| <include>**/build.log</include> |
| </includes> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-it-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>directory-single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assemble/it-repository.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <debug>true</debug> |
| <projectsDirectory>src/it</projectsDirectory> |
| <pomIncludes> |
| <pomInclude>**/pom.xml</pomInclude> |
| </pomIncludes> |
| <pomExcludes> |
| <pomExclude>**/child*/pom.xml</pomExclude> |
| <pomExclude>**/module*/pom.xml</pomExclude> |
| </pomExcludes> |
| <postBuildHookScript>verify.bsh</postBuildHookScript> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |