Repository: atlas Updated Branches: refs/heads/0.8-incubating b285e93c9 -> 0e8d7d508
ATLAS-2052: updated packaing to exclude junit jar (cherry picked from commit 56374ff7e3a6faa3e444db1ba3fa14905f356dc9) Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/0e8d7d50 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/0e8d7d50 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/0e8d7d50 Branch: refs/heads/0.8-incubating Commit: 0e8d7d508ef9ad7da333b1664eb09fe1b0a94799 Parents: b285e93 Author: Madhan Neethiraj <[email protected]> Authored: Tue Aug 15 15:16:57 2017 -0700 Committer: Madhan Neethiraj <[email protected]> Committed: Wed Aug 16 19:23:47 2017 -0700 ---------------------------------------------------------------------- pom.xml | 30 ++++++++++++++++++++++++++++++ webapp/pom.xml | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/0e8d7d50/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 42495cd..1f9f915 100644 --- a/pom.xml +++ b/pom.xml @@ -809,6 +809,10 @@ <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> </exclusions> </dependency> @@ -1133,6 +1137,10 @@ <artifactId>*</artifactId> <groupId>org.mortbay.jetty</groupId> </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> </exclusions> </dependency> @@ -1141,6 +1149,12 @@ <artifactId>hbase-server</artifactId> <version>${hbase.version}</version> <classifier>tests</classifier> + <exclusions> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> @@ -1156,6 +1170,10 @@ <groupId>tomcat</groupId> <artifactId>*</artifactId> </exclusion> + <exclusion> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </exclusion> </exclusions> </dependency> @@ -1369,12 +1387,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> http://git-wip-us.apache.org/repos/asf/atlas/blob/0e8d7d50/webapp/pom.xml ---------------------------------------------------------------------- diff --git a/webapp/pom.xml b/webapp/pom.xml index fbe25c4..5f59ffa 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>
