This is an automated email from the ASF dual-hosted git repository.

lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 91ca61d39cfaa1d9a1e093495aecc2b06281af78
Author: 1028332163 <1028332...@qq.com>
AuthorDate: Thu Feb 22 21:28:59 2018 +0800

    [BEAM-3690] ban mockito-all and hamcrest-all
---
 .../elasticsearch-tests/elasticsearch-tests-5/pom.xml   | 13 ++++++-------
 sdks/java/nexmark/pom.xml                               | 17 +----------------
 2 files changed, 7 insertions(+), 23 deletions(-)

diff --git a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/pom.xml 
b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/pom.xml
index 5159c39..f64ad29 100644
--- a/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/pom.xml
+++ b/sdks/java/io/elasticsearch-tests/elasticsearch-tests-5/pom.xml
@@ -41,12 +41,12 @@
             <artifactId>framework</artifactId>
             <version>${elasticsearch.version}</version>
             <scope>test</scope>
-            <exclusions>  
-                <exclusion>  
-                    <groupId>org.hamcrest</groupId>  
-                    <artifactId>hamcrest-all</artifactId>  
-                </exclusion>  
-            </exclusions>  
+            <exclusions>
+                <exclusion>
+                    <groupId>org.hamcrest</groupId>
+                    <artifactId>hamcrest-all</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <!--to enable rest connection on embeded elasticsearch-->
@@ -81,7 +81,6 @@
     </dependencies>
     <build>
         <plugins>
-
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
diff --git a/sdks/java/nexmark/pom.xml b/sdks/java/nexmark/pom.xml
index 281a2d5..cc0b215 100644
--- a/sdks/java/nexmark/pom.xml
+++ b/sdks/java/nexmark/pom.xml
@@ -119,22 +119,6 @@
   <build>
     <plugins>
       <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-dependency-plugin</artifactId>
-               <executions>
-                 <execution>
-                   <goals>
-                     <goal>analyze-only</goal>
-                   </goals>
-                   <configuration>
-                     <ignoredUnusedDeclaredDependencies>
-                       
<ignoredUnusedDeclaredDependency>org.hamcrest:hamcrest-library:jar:${hamcrest.version}</ignoredUnusedDeclaredDependency>
-                     </ignoredUnusedDeclaredDependencies>
-                   </configuration>
-                 </execution>
-               </executions>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <executions>
@@ -150,6 +134,7 @@
           </execution>
         </executions>
       </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>

-- 
To stop receiving notification emails like this one, please contact
lc...@apache.org.

Reply via email to