Created
August 25, 2011 13:32
-
-
Save joserodolfofreitas/1170665 to your computer and use it in GitHub Desktop.
pom for shw maven resolver impl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<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 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<!-- Parent --> | |
<parent> | |
<groupId>org.jboss.shrinkwrap.resolver</groupId> | |
<artifactId>shrinkwrap-resolver-parent</artifactId> | |
<version>1.1.0-alpha-1-SNAPSHOT</version> | |
<relativePath>../pom.xml</relativePath> | |
</parent> | |
<!-- Model Version --> | |
<modelVersion>4.0.0</modelVersion> | |
<!-- Artifact Configuration --> | |
<artifactId>shrinkwrap-resolver-impl-maven</artifactId> | |
<name>ShrinkWrap Resolver Maven Implementation</name> | |
<description>ShrinkWrap Extension for Resolving Dependencies from a Maven backend</description> | |
<!-- Properties --> | |
<properties> | |
<!-- Versioning --> | |
<version.org.sonatype.aether>1.8</version.org.sonatype.aether> | |
<version.org.apache.maven>3.0.1</version.org.apache.maven> | |
<version.org.apache.maven.wagon>1.0-beta-7</version.org.apache.maven.wagon> | |
<appended.jar.for.test>${basedir}/src/test/resources/artifacts/test-pom-in.jar</appended.jar.for.test> | |
</properties> | |
<!-- Dependencies --> | |
<dependencies> | |
<!-- | |
org.jboss.shrinkwrap | |
--> | |
<dependency> | |
<groupId>org.jboss.shrinkwrap</groupId> | |
<artifactId>shrinkwrap-api</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.shrinkwrap.resolver</groupId> | |
<artifactId>shrinkwrap-resolver-api</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.shrinkwrap.resolver</groupId> | |
<artifactId>shrinkwrap-resolver-api-maven</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jboss.shrinkwrap</groupId> | |
<artifactId>shrinkwrap-impl-base</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<!-- | |
External Projects | |
--> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty</artifactId> | |
<version>6.1.16</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- org.sonatype.aether --> | |
<dependency> | |
<groupId>org.sonatype.aether</groupId> | |
<artifactId>aether-api</artifactId> | |
<version>${version.org.sonatype.aether}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.sonatype.aether</groupId> | |
<artifactId>aether-util</artifactId> | |
<version>${version.org.sonatype.aether}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.sonatype.aether</groupId> | |
<artifactId>aether-connector-wagon</artifactId> | |
<version>${version.org.sonatype.aether}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.sonatype.aether</groupId> | |
<artifactId>aether-impl</artifactId> | |
<version>${version.org.sonatype.aether}</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- org.apache.maven --> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-aether-provider</artifactId> | |
<version>${version.org.apache.maven}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-settings-builder</artifactId> | |
<version>${version.org.apache.maven}</version> | |
</dependency> | |
<!-- org.apache.maven.wagon --> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-provider-api</artifactId> | |
<version>${version.org.apache.maven.wagon}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-file</artifactId> | |
<version>${version.org.apache.maven.wagon}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-http-lightweight</artifactId> | |
<version>${version.org.apache.maven.wagon}</version> | |
<exclusions> | |
<exclusion> | |
<groupId>nekohtml</groupId> | |
<artifactId>nekohtml</artifactId> | |
</exclusion> | |
<exclusion> | |
<groupId>nekohtml</groupId> | |
<artifactId>xercesMinimal</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<!-- Build Configuration --> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.9</version> | |
<configuration> | |
<additionalClasspathElements> | |
<additionalClasspathElement>${appended.jar.for.test}</additionalClasspathElement> | |
</additionalClasspathElements> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>1.0.1</version> | |
<executions> | |
<execution> | |
<id>enforce-files-exist</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<requireFilesExist> | |
<files> | |
<file>${appended.jar.for.test}</file> | |
</files> | |
</requireFilesExist> | |
</rules> | |
<fail>true</fail> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.4.3</version> | |
<executions> | |
<execution> | |
<id>copy-repository</id> | |
<phase>process-test-resources</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${basedir}/target/repository</outputDirectory> | |
<resources> | |
<resource> | |
<directory>${basedir}/src/test/resources/repository</directory> | |
<filtering>false</filtering> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
<execution> | |
<id>copy-settings</id> | |
<phase>process-test-resources</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${basedir}/target/settings/profiles</outputDirectory> | |
<resources> | |
<resource> | |
<directory>${basedir}/src/test/resources/profiles</directory> | |
<filtering>true</filtering> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
<execution> | |
<id>copy-poms</id> | |
<phase>process-test-resources</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${basedir}/target/poms</outputDirectory> | |
<resources> | |
<resource> | |
<directory>${basedir}/src/test/resources/poms</directory> | |
<filtering>true</filtering> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>verbose</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.8.1</version> | |
<configuration> | |
<systemPropertyVariables> | |
<java.util.logging.config.file>logging.properties</java.util.logging.config.file> | |
</systemPropertyVariables> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
</project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment