commit 2f320d0d23a7598bc54233a64ffc50b08c9b1840
Author: Adriano Bonat <[email protected]>
AuthorDate: Sat, 19 Jan 2013 17:50:41 -0200
Commit: Mauro Talevi <[email protected]>
CommitDate: Sun, 20 Jan 2013 11:54:36 +0100
JBEHAVE-453: com.google.code.guice:guice:2.0.1 is not available from
regular maven repos.
Solved by excluding xunit dependency on guice and added dependency on
guice:2.0 that is available on Maven Central.
diff --git a/jbehave-hudson-plugin/pom.xml b/jbehave-hudson-plugin/pom.xml
index 71d324a..d7f8bc6 100755
--- a/jbehave-hudson-plugin/pom.xml
+++ b/jbehave-hudson-plugin/pom.xml
@@ -21,6 +21,12 @@
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>xunit</artifactId>
<version>${xunit.plugin.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.jvnet.hudson.main</groupId>
@@ -53,6 +59,12 @@
<version>1.3</version>
<scope>test</scope>
</dependency>
+ <!-- Required by xunit -->
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>2.0</version>
+ </dependency>
</dependencies>
<build>
diff --git a/jbehave-jenkins-plugin/pom.xml b/jbehave-jenkins-plugin/pom.xml
index 10bcc1b..9eaece1 100755
--- a/jbehave-jenkins-plugin/pom.xml
+++ b/jbehave-jenkins-plugin/pom.xml
@@ -22,6 +22,12 @@
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>xunit</artifactId>
<version>${xunit.plugin.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.code.guice</groupId>
+ <artifactId>guice</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.jvnet.hudson.main</groupId>
@@ -60,6 +66,12 @@
<version>2.4</version>
<scope>provided</scope>
</dependency>
+ <!-- Required by xunit -->
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <version>2.0</version>
+ </dependency>
</dependencies>
<build>