Browse Source

HADOOP-15406. hadoop-nfs dependencies for mockito and junit are not test scope

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit e07156e8b07552b877a22565641465e211144f6f)
Jason Lowe 7 years ago
parent
commit
cacd267b0d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hadoop-common-project/hadoop-nfs/pom.xml

+ 2 - 0
hadoop-common-project/hadoop-nfs/pom.xml

@@ -56,10 +56,12 @@
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.mockito</groupId>
       <artifactId>mockito-all</artifactId>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>commons-logging</groupId>