ATLAS-2052: updated packaing to exclude junit jar
diff --git a/pom.xml b/pom.xml
index 8b9eee6..db71c02 100644
--- a/pom.xml
+++ b/pom.xml
@@ -834,6 +834,10 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -1152,6 +1156,10 @@
<artifactId>*</artifactId>
<groupId>org.mortbay.jetty</groupId>
</exclusion>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -1160,6 +1168,12 @@
<artifactId>hbase-server</artifactId>
<version>${hbase.version}</version>
<classifier>tests</classifier>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
@@ -1175,6 +1189,10 @@
<groupId>tomcat</groupId>
<artifactId>*</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -1388,12 +1406,24 @@
<groupId>org.apache.atlas</groupId>
<artifactId>atlas-hbase-client-shaded</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.atlas</groupId>
<artifactId>atlas-hbase-server-shaded</artifactId>
<version>${project.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
diff --git a/webapp/pom.xml b/webapp/pom.xml
index 42981e0..2a06027 100755
--- a/webapp/pom.xml
+++ b/webapp/pom.xml
@@ -511,7 +511,7 @@
<packagingExcludes>
<!-- Titan and hbase jars should be excluded because an uber jar with shaded dependencies is created.
But mvn 3.3.x includes them for some reason. So, excluding them explicitly here -->
- WEB-INF/lib/titan*.jar,WEB-INF/lib/hbase*.jar,${packages.to.exclude}
+ WEB-INF/lib/titan*.jar,WEB-INF/lib/hbase*.jar,WEB-INF/lib/junit*.jar,${packages.to.exclude}
</packagingExcludes>
</configuration>
</plugin>