Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kellyrob99/5716512 to your computer and use it in GitHub Desktop.
Save kellyrob99/5716512 to your computer and use it in GitHub Desktop.
From 73abd71abab3375b6f10876bcdcdcbc72ec65d5c Mon Sep 17 00:00:00 2001
From: Kelly Robinson <krobinson@sonatype.com>
Date: Wed, 5 Jun 2013 12:24:57 -0700
Subject: [PATCH] fixing dependencies in the pom to exclude tests and deps
already provided by the container
---
pom.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/pom.xml b/pom.xml
index b2dbb05..5464b43 100644
--- a/pom.xml
+++ b/pom.xml
@@ -105,6 +105,18 @@ FIXME: This module uses legacy Plexus components.
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.sonatype.sisu</groupId>
+ <artifactId>sisu-inject-plexus</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-classworlds</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -122,16 +134,19 @@ FIXME: This module uses legacy Plexus components.
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.sonatype.nexus</groupId>
<artifactId>nexus-test-common</artifactId>
<version>${nexus-version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
--
1.7.12.4 (Apple Git-37)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment