commit 94cde2e939518d7da901469a144a7ceebe197920
Author:     Mauro Talevi <mauro.tal...@aquilonia.org>
AuthorDate: Sun, 9 Mar 2014 19:34:32 +0100
Commit:     Mauro Talevi <mauro.tal...@aquilonia.org>
CommitDate: Sun, 9 Mar 2014 19:34:32 +0100

    JBEHAVE-1001:  Added dependency on javax.servlet-api to jbehave-hudson to 
allow building with Maven 3.1+.

diff --git a/jbehave-hudson-plugin/pom.xml b/jbehave-hudson-plugin/pom.xml
index 9fe029b..466fdd5 100755
--- a/jbehave-hudson-plugin/pom.xml
+++ b/jbehave-hudson-plugin/pom.xml
@@ -1,4 +1,5 @@
-<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";>
+<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";>
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.jbehave</groupId>
@@ -28,6 +29,18 @@
         </exclusion>
       </exclusions>
     </dependency>
+    <!-- Required by xunit -->
+    <dependency>
+      <groupId>com.google.inject</groupId>
+      <artifactId>guice</artifactId>
+      <version>2.0</version>
+    </dependency>
+    <!-- Required by mvn 3.1+ -->
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>javax.servlet-api</artifactId>
+      <version>3.1.0</version>
+    </dependency>
     <dependency>
       <groupId>org.jvnet.hudson.main</groupId>
       <artifactId>hudson-core</artifactId>
@@ -59,12 +72,6 @@
       <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>



Reply via email to