Skip to content

Instantly share code, notes, and snippets.

@kpiwko
Created March 14, 2012 15:02
Show Gist options
  • Save kpiwko/2037065 to your computer and use it in GitHub Desktop.
Save kpiwko/2037065 to your computer and use it in GitHub Desktop.
Usage of ShrinkWrap Maven Resolver depchain and bom artifacts
<dependencyManagement>
<dependencies>
<!-- We are overriding version of ShrinkWrap Maven Resolver from Arquillian BOM-->
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-bom</artifactId>
<version>2.0.0-alpha-1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Adding Arquillian dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.0.0.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
...
<!-- We include all needed dependencies into test scope -->
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-depchain</artifactId>
<version>2.0.0-alpha-1</version>
<type>pom</type>
<scope>test</scope>
</dependency>
...
</dependencies>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment