Explorar el Código

AMBARI-8240. Slider View: 2 versions of 'jersey-server.jar' being packaged (srimanth)

Srimanth Gunturi hace 10 años
padre
commit
a0d10fc1d6
Se han modificado 1 ficheros con 6 adiciones y 17 borrados
  1. 6 17
      contrib/views/slider/pom.xml

+ 6 - 17
contrib/views/slider/pom.xml

@@ -84,10 +84,6 @@
 			<artifactId>guice-servlet</artifactId>
 			<version>${guice.version}</version>
 		</dependency>
-		<dependency>
-			<groupId>org.glassfish.jersey.containers</groupId>
-			<artifactId>jersey-container-servlet</artifactId>
-		</dependency>
 		<dependency>
 			<groupId>com.googlecode.json-simple</groupId>
 			<artifactId>json-simple</artifactId>
@@ -98,26 +94,18 @@
 			<version>${hadoop.version}</version>
 			<scope>test</scope>
 		</dependency>
-
 		<dependency>
-			<groupId>org.glassfish.jersey.test-framework</groupId>
+			<groupId>com.sun.jersey.jersey-test-framework</groupId>
 			<artifactId>jersey-test-framework-core</artifactId>
-			<version>2.6</version>
+			<version>${jersey.version}</version>
 			<scope>test</scope>
 		</dependency>
 		<dependency>
-			<groupId>org.glassfish.jersey.test-framework.providers</groupId>
-			<artifactId>jersey-test-framework-provider-grizzly2</artifactId>
-			<version>2.6</version>
+			<groupId>com.sun.jersey.jersey-test-framework</groupId>
+			<artifactId>jersey-test-framework-grizzly2</artifactId>
+			<version>${jersey.version}</version>
 			<scope>test</scope>
 		</dependency>
-		<dependency>
-			<groupId>org.glassfish.jersey.test-framework.providers </groupId>
-			<artifactId>jersey-test-framework-provider-bundle </artifactId>
-			<version>2.6</version>
-			<scope>test</scope>
-			<type>pom</type>
-		</dependency>
 		<dependency>
 			<groupId>org.apache.ambari</groupId>
 			<artifactId>ambari-views</artifactId>
@@ -442,6 +430,7 @@
 		<guice.version>3.0</guice.version>
 		<jackson.version>1.9.13</jackson.version>
 		<gson.version>2.2.2</gson.version>
+		<jersey.version>1.9</jersey.version>
 	</properties>
 
 	<build>