Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> scope of jersey-test-framework-grizzly2


Copy link to this message
-
scope of jersey-test-framework-grizzly2
Hi,
To answer some question on dev@hbase, I noticed the following dependencies:

[INFO] +- org.apache.hadoop:hadoop-mapreduce-client-core:jar:2.2.0:compile
[INFO] |  +- org.apache.hadoop:hadoop-yarn-common:jar:2.2.0:compile
[INFO] |  |  +- com.google.inject:guice:jar:3.0:compile
[INFO] |  |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  |  +- com.sun.jersey.jersey-test-framework:
*jersey-test-framework-grizzly2*:jar:1.9:compile
[INFO] |  |  |  +-
com.sun.jersey.jersey-test-framework:jersey-test-framework-core:jar:1.9:compile

Should jersey-test-framework-grizzly2 have test scope ?

I tried the following change:

Index: hadoop-yarn-project/hadoop-yarn/pom.xml
==================================================================--- hadoop-yarn-project/hadoop-yarn/pom.xml (revision 1541341)
+++ hadoop-yarn-project/hadoop-yarn/pom.xml (working copy)
@@ -119,6 +119,7 @@
     <dependency>
       <groupId>com.sun.jersey.jersey-test-framework</groupId>
       <artifactId>jersey-test-framework-grizzly2</artifactId>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>com.sun.jersey</groupId>

The above change led to addition of
jersey-test-framework-grizzly2 in
hadoop-mapreduce-project/hadoop-mapreduce-client/pom.xml

I want to get some opinion on whether jersey-test-framework-grizzly2 should
have test scope.

Thanks