accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject accumulo git commit: ACCUMULO-4631: Moved junit unusedDeclaredDependency to maven-plugin pom
Date Thu, 27 Apr 2017 17:42:13 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 58076bf52 -> ce4017884


ACCUMULO-4631: Moved junit unusedDeclaredDependency to maven-plugin pom


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/ce401788
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/ce401788
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/ce401788

Branch: refs/heads/master
Commit: ce4017884231d5111baf9856038ad42a4ff2ed4c
Parents: 58076bf
Author: Mike Miller <mmiller@apache.org>
Authored: Thu Apr 27 13:39:37 2017 -0400
Committer: Mike Miller <mmiller@apache.org>
Committed: Thu Apr 27 13:39:37 2017 -0400

----------------------------------------------------------------------
 maven-plugin/pom.xml | 17 +++++++++++++++++
 pom.xml              |  1 -
 2 files changed, 17 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/ce401788/maven-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml
index 0c9760e..e87d533 100644
--- a/maven-plugin/pom.xml
+++ b/maven-plugin/pom.xml
@@ -75,6 +75,23 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>analyze</id>
+            <goals>
+              <goal>analyze-only</goal>
+            </goals>
+            <configuration>
+              <ignoredUnusedDeclaredDependencies combine.children="append">
+                <unusedDeclaredDependency>junit:junit:jar:4.12</unusedDeclaredDependency>
+              </ignoredUnusedDeclaredDependencies>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
         <configuration>
           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>

http://git-wip-us.apache.org/repos/asf/accumulo/blob/ce401788/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0e30965..78a5712 100644
--- a/pom.xml
+++ b/pom.xml
@@ -880,7 +880,6 @@
                 <unusedDeclaredDependency>org.powermock:powermock-api-easymock:jar:${powermock.version}</unusedDeclaredDependency>
                 <unusedDeclaredDependency>org.slf4j:slf4j-log4j12:jar:${slf4j.version}</unusedDeclaredDependency>
                 <unusedDeclaredDependency>org.apache.httpcomponents:httpclient:jar:${httpclient.version}</unusedDeclaredDependency>
-                <unusedDeclaredDependency>junit:junit:jar:4.12</unusedDeclaredDependency>
               </ignoredUnusedDeclaredDependencies>
             </configuration>
           </execution>


Mime
View raw message