ShrinkWrap Resolver Maven Implementation.
Implementation for Resolving Dependencies from a Maven Backend.
Here is the list of declaration for shrinkwrap-resolver-impl-maven. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.jboss.shrinkwrap.resolver</groupId> <artifactId>shrinkwrap-resolver-impl-maven</artifactId> <version>2.0.0</version> </dependency>
If you think this Maven repository POM file listing for shrinkwrap-resolver-impl-maven is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The shrinkwrap-resolver-impl-maven-2.0.0 has 3 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Data Structure | commons-codec 1.4 The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities. | 248 |
Jetty | jetty 6.1.16 Jetty server core | 7 |
Testing Mock | mockito-all 1.8.3 Mock objects library for java | 7 |
The following plugins are used in the shrinkwrap-resolver-impl-maven-2.0.0.jar
The following packages are defined in the shrinkwrap-resolver-impl-maven-2.0.0.jar
org.jboss.shrinkwrap.resolver.impl.maven org.jboss.shrinkwrap.resolver.impl.maven.aether org.jboss.shrinkwrap.resolver.impl.maven.bootstrap org.jboss.shrinkwrap.resolver.impl.maven.convert org.jboss.shrinkwrap.resolver.impl.maven.coordinate org.jboss.shrinkwrap.resolver.impl.maven.format org.jboss.shrinkwrap.resolver.impl.maven.internal org.jboss.shrinkwrap.resolver.impl.maven.internal.decrypt org.jboss.shrinkwrap.resolver.impl.maven.logging org.jboss.shrinkwrap.resolver.impl.maven.pom org.jboss.shrinkwrap.resolver.impl.maven.task org.jboss.shrinkwrap.resolver.impl.maven.util
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <!-- vi: set ts=4:sw=4:expandtab: --> <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>2.0.0</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>Implementation for Resolving Dependencies from a Maven Backend</description> <!-- Properties --> <properties> <!-- Test JAR archive --> <appended.jar.for.test>${basedir}/target/additional-test.jar</appended.jar.for.test> </properties> <!-- Dependencies --> <dependencies> <!-- org.jboss.shrinkwrap --> <dependency> <groupId>org.jboss.shrinkwrap.resolver</groupId> <artifactId>shrinkwrap-resolver-api-maven</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.jboss.shrinkwrap.resolver</groupId> <artifactId>shrinkwrap-resolver-spi-maven</artifactId> <version>${project.version}</version> </dependency> <!-- External Projects --> <!-- 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-impl</artifactId> <version>${version.org.sonatype.aether}</version> </dependency> <dependency> <groupId>org.sonatype.aether</groupId> <artifactId>aether-spi</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>org.apache.maven.wagon</groupId> <artifactId>wagon-provider-api</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-classworlds</artifactId> </exclusion> <exclusion> <groupId>org.sonatype.sisu</groupId> <artifactId>sisu-inject-plexus</artifactId> </exclusion> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> </exclusions> </dependency> <!-- org.apache.maven --> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-aether-provider</artifactId> <version>${version.org.apache.maven}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <version>${version.org.apache.maven}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model-builder</artifactId> <version>${version.org.apache.maven}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> <exclusion> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-sec-dispatcher</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-interpolation</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-repository-metadata</artifactId> <version>${version.org.apache.maven}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> <version>${version.org.apache.maven}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings-builder</artifactId> <version>${version.org.apache.maven}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> <exclusion> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-sec-dispatcher</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-annotations</artifactId> </exclusion> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-interpolation</artifactId> </exclusion> </exclusions> </dependency> <!-- org.codehaus.plexus --> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-interpolation</artifactId> <version>${version.org.codehaus.plexus.interpolation}</version> <scope>runtime</scope> </dependency> <!-- plexus utils are needed in order to parse maven plugin configuration --> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> <!-- plexus sec dispatcher is needed to support encrypted passwords --> <dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-sec-dispatcher</artifactId> <version>${version.org.codehaus.plexus.sec.dispatcher}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </dependency> <!-- org.apache.maven.wagon --> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-provider-api</artifactId> <version>${version.org.apache.maven.wagon}</version> <exclusions> <exclusion> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </exclusion> </exclusions> </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> </dependency> <!-- Test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.4</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <version>6.1.16</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.8.3</version> <scope>test</scope> </dependency> <!-- we need this artifact to test resolution from classpath --> <dependency> <groupId>org.jboss.shrinkwrap.resolver</groupId> <artifactId>shrinkwrap-resolver-api-maven</artifactId> <version>${project.version}</version> <type>test-jar</type> <classifier>tests</classifier> <scope>test</scope> </dependency> </dependencies> <dependencyManagement> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-classworlds</artifactId> <version>${version.org.codehaus.plexus.classworlds}</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>${version.org.codehaus.plexus.utils}</version> </dependency> </dependencies> </dependencyManagement> <!-- Build Configuration --> <build> <testResources> <testResource> <directory>src/test/resources</directory> <filtering>true</filtering> </testResource> </testResources> <plugins> <!-- we are creating additional jar to test loading resources from classpath --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>create-additional-jar</id> <phase>generate-test-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <copy todir="${basedir}/target/additional-test-jar"> <fileset dir="${basedir}/src/test/resources"> <include name="**/settings3.xml" /> <include name="**/test-parent.xml" /> </fileset> <filterset begintoken="${" endtoken="}"> <filter token="basedir" value="${basedir}" /> </filterset> <mapper> <chainedmapper> <globmapper from="*.xml" to="*-from-classpath.xml" casesensitive="no" /> </chainedmapper> </mapper> </copy> <jar destfile="${basedir}/target/additional-test.jar" basedir="${basedir}/target/additional-test-jar" /> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <additionalClasspathElements> <additionalClasspathElement>${appended.jar.for.test}</additionalClasspathElement> </additionalClasspathElements> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-files-exist</id> <phase>process-test-resources</phase> <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> <executions> <execution> <id>default-testResources</id> <phase>process-test-resources</phase> <goals> <goal>testResources</goal> </goals> <configuration> <nonFilteredFileExtensions> <nonFilteredFileExtension>jar</nonFilteredFileExtension> </nonFilteredFileExtensions> </configuration> </execution> <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> <escapeString>\</escapeString> </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> </project>