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

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


The following commit(s) were added to refs/heads/master by this push:
     new cc842dd  MNEMONIC-670: Remove warnings caused by maven-shade-plugin
cc842dd is described below

commit cc842ddededc27253cbb2a1e25bfb63cc569d589
Author: Zhen Li <[email protected]>
AuthorDate: Fri Aug 13 23:30:13 2021 -0700

    MNEMONIC-670: Remove warnings caused by maven-shade-plugin
    
    Signed-off-by: Zhen Li <[email protected]>
---
 mnemonic-benches/mnemonic-sort-bench/pom.xml       | 20 --------------
 .../mnemonic-spark-kmeans-bench/pom.xml            | 15 -----------
 mnemonic-collections/pom.xml                       | 15 -----------
 mnemonic-common/pom.xml                            | 15 -----------
 .../mnemonic-utilities-service/pom.xml             |  4 ---
 mnemonic-computing-services/pom.xml                | 30 ---------------------
 mnemonic-core/pom.xml                              | 17 ------------
 mnemonic-examples/pom.xml                          | 20 --------------
 mnemonic-hadoop/pom.xml                            | 31 ----------------------
 .../mnemonic-java-vmem-service/pom.xml             | 10 +++----
 .../mnemonic-nvml-pmem-service/pom.xml             |  4 ---
 .../mnemonic-nvml-vmem-service/pom.xml             |  4 ---
 .../mnemonic-pmalloc-service/pom.xml               |  4 ---
 .../mnemonic-pmdk-pmem-service/pom.xml             |  4 ---
 .../mnemonic-pmdk-vmem-service/pom.xml             |  4 ---
 .../mnemonic-sys-vmem-service/pom.xml              |  4 ---
 mnemonic-memory-services/pom.xml                   | 30 ---------------------
 mnemonic-sessions/pom.xml                          | 15 -----------
 18 files changed, 3 insertions(+), 243 deletions(-)

diff --git a/mnemonic-benches/mnemonic-sort-bench/pom.xml 
b/mnemonic-benches/mnemonic-sort-bench/pom.xml
index 1bfb420..d6c9452 100644
--- a/mnemonic-benches/mnemonic-sort-bench/pom.xml
+++ b/mnemonic-benches/mnemonic-sort-bench/pom.xml
@@ -53,26 +53,6 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-            <configuration>
-              <transformers>
-                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-                  <mainClass>${project.groupId}.bench.Sort</mainClass>
-                </transformer>
-              </transformers>
-              <minimizeJar>true</minimizeJar>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <version>2.10</version>
         <executions>
diff --git a/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml 
b/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
index c7f0b11..91dcc28 100644
--- a/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
+++ b/mnemonic-benches/mnemonic-spark-kmeans-bench/pom.xml
@@ -120,21 +120,6 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-            <configuration>
-              <minimizeJar>true</minimizeJar>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-dependency-plugin</artifactId>
         <version>2.10</version>
         <executions>
diff --git a/mnemonic-collections/pom.xml b/mnemonic-collections/pom.xml
index 32b0d53..f75efdd 100644
--- a/mnemonic-collections/pom.xml
+++ b/mnemonic-collections/pom.xml
@@ -86,21 +86,6 @@
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <minimizeJar>true</minimizeJar>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.bsc.maven</groupId>
         <artifactId>maven-processor-plugin</artifactId>
         <executions>
diff --git a/mnemonic-common/pom.xml b/mnemonic-common/pom.xml
index 1d3851e..c5f30f5 100644
--- a/mnemonic-common/pom.xml
+++ b/mnemonic-common/pom.xml
@@ -75,21 +75,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <minimizeJar>true</minimizeJar>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-computing-services/mnemonic-utilities-service/pom.xml 
b/mnemonic-computing-services/mnemonic-utilities-service/pom.xml
index 9f86568..df46cf2 100644
--- a/mnemonic-computing-services/mnemonic-utilities-service/pom.xml
+++ b/mnemonic-computing-services/mnemonic-utilities-service/pom.xml
@@ -94,10 +94,6 @@
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
-      <plugin>
         <groupId>org.bsc.maven</groupId>
         <artifactId>maven-processor-plugin</artifactId>
       </plugin>
diff --git a/mnemonic-computing-services/pom.xml 
b/mnemonic-computing-services/pom.xml
index 1fc7df4..96e7bfe 100644
--- a/mnemonic-computing-services/pom.xml
+++ b/mnemonic-computing-services/pom.xml
@@ -106,36 +106,6 @@
           </configuration>
         </plugin>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-shade-plugin</artifactId>
-          <configuration>
-            <minimizeJar>true</minimizeJar>
-            <filters>
-              <filter>
-                <artifact>*:*</artifact>
-                <includes>
-                </includes>
-                <excludes>
-                  <exclude>META-INFO/**/**</exclude>
-                  <exclude>META-INFO/services/**</exclude>
-                  <exclude>META-INFO/maven/**</exclude>
-                </excludes>
-              </filter>
-            </filters>
-            <outputDirectory>${service.basedir}/service-dist</outputDirectory>
-            <shadedArtifactAttached>true</shadedArtifactAttached>
-            
<shadedClassifierName>${os.detected.classifier}</shadedClassifierName>
-          </configuration>
-          <executions>
-            <execution>
-              <phase>package</phase>
-              <goals>
-                <goal>shade</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
           <groupId>org.bsc.maven</groupId>
           <artifactId>maven-processor-plugin</artifactId>
           <executions>
diff --git a/mnemonic-core/pom.xml b/mnemonic-core/pom.xml
index 9dfc041..e43c354 100644
--- a/mnemonic-core/pom.xml
+++ b/mnemonic-core/pom.xml
@@ -120,23 +120,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-            <configuration>
-              <transformers>
-              </transformers>
-              <minimizeJar>true</minimizeJar>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-examples/pom.xml b/mnemonic-examples/pom.xml
index ec0fb16..aaf6877 100644
--- a/mnemonic-examples/pom.xml
+++ b/mnemonic-examples/pom.xml
@@ -138,26 +138,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-            <configuration>
-              <transformers>
-                <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-                  <mainClass>${project.groupId}.examples.Main</mainClass>
-                </transformer>
-              </transformers>
-              <minimizeJar>true</minimizeJar>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
       <!-- enable the following plugin in client POM
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/mnemonic-hadoop/pom.xml b/mnemonic-hadoop/pom.xml
index 3608273..b8ac7c9 100644
--- a/mnemonic-hadoop/pom.xml
+++ b/mnemonic-hadoop/pom.xml
@@ -130,37 +130,6 @@
           </configuration>
         </plugin>
         <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-shade-plugin</artifactId>
-          <version>2.4.3</version>
-          <configuration>
-            <minimizeJar>true</minimizeJar>
-            <filters>
-              <filter>
-                <artifact>*:*</artifact>
-                <includes>
-                </includes>
-                <excludes>
-                  <exclude>META-INFO/**/**</exclude>
-                  <exclude>META-INFO/services/**</exclude>
-                  <exclude>META-INFO/maven/**</exclude>
-                </excludes>
-              </filter>
-            </filters>
-            <outputDirectory>${service.basedir}/service-dist</outputDirectory>
-            <shadedArtifactAttached>true</shadedArtifactAttached>
-            
<shadedClassifierName>${os.detected.classifier}</shadedClassifierName>
-          </configuration>
-          <executions>
-            <execution>
-              <phase>package</phase>
-              <goals>
-                <goal>shade</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
           <groupId>org.bsc.maven</groupId>
           <artifactId>maven-processor-plugin</artifactId>
           <executions>
diff --git a/mnemonic-memory-services/mnemonic-java-vmem-service/pom.xml 
b/mnemonic-memory-services/mnemonic-java-vmem-service/pom.xml
index 77b8d78..eeb5e91 100644
--- a/mnemonic-memory-services/mnemonic-java-vmem-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-java-vmem-service/pom.xml
@@ -27,7 +27,7 @@
     <artifactId>mnemonic-memory-services</artifactId>
     <version>0.16.0-SNAPSHOT</version>
   </parent>
-  
+
   <artifactId>mnemonic-java-vmem-service</artifactId>
   <name>mnemonic-java-vmem-service</name>
 
@@ -65,10 +65,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
@@ -109,7 +105,7 @@
       <build>
         <plugins>
           <plugin>
-            <groupId>org.apache.maven.plugins</groupId> 
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
               <argLine>-Xmx2g -XX:MaxPermSize=1g</argLine>
@@ -117,7 +113,7 @@
                 <suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
               </suiteXmlFiles>
             </configuration>
-          </plugin> 
+          </plugin>
         </plugins>
       </build>
     </profile>
diff --git a/mnemonic-memory-services/mnemonic-nvml-pmem-service/pom.xml 
b/mnemonic-memory-services/mnemonic-nvml-pmem-service/pom.xml
index 2204166..772fc09 100644
--- a/mnemonic-memory-services/mnemonic-nvml-pmem-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-nvml-pmem-service/pom.xml
@@ -105,10 +105,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-memory-services/mnemonic-nvml-vmem-service/pom.xml 
b/mnemonic-memory-services/mnemonic-nvml-vmem-service/pom.xml
index 30ec2f7..c60ea1e 100644
--- a/mnemonic-memory-services/mnemonic-nvml-vmem-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-nvml-vmem-service/pom.xml
@@ -105,10 +105,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-memory-services/mnemonic-pmalloc-service/pom.xml 
b/mnemonic-memory-services/mnemonic-pmalloc-service/pom.xml
index 03e23d0..0e5f8cf 100644
--- a/mnemonic-memory-services/mnemonic-pmalloc-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-pmalloc-service/pom.xml
@@ -105,10 +105,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-memory-services/mnemonic-pmdk-pmem-service/pom.xml 
b/mnemonic-memory-services/mnemonic-pmdk-pmem-service/pom.xml
index 072dca4..62d97a0 100644
--- a/mnemonic-memory-services/mnemonic-pmdk-pmem-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-pmdk-pmem-service/pom.xml
@@ -105,10 +105,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-memory-services/mnemonic-pmdk-vmem-service/pom.xml 
b/mnemonic-memory-services/mnemonic-pmdk-vmem-service/pom.xml
index 0417aaf..a275ad9 100644
--- a/mnemonic-memory-services/mnemonic-pmdk-vmem-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-pmdk-vmem-service/pom.xml
@@ -105,10 +105,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-memory-services/mnemonic-sys-vmem-service/pom.xml 
b/mnemonic-memory-services/mnemonic-sys-vmem-service/pom.xml
index 7f1064c..81103e1 100644
--- a/mnemonic-memory-services/mnemonic-sys-vmem-service/pom.xml
+++ b/mnemonic-memory-services/mnemonic-sys-vmem-service/pom.xml
@@ -105,10 +105,6 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-      </plugin>
     </plugins>
   </build>
 
diff --git a/mnemonic-memory-services/pom.xml b/mnemonic-memory-services/pom.xml
index f6d448e..329a2ba 100644
--- a/mnemonic-memory-services/pom.xml
+++ b/mnemonic-memory-services/pom.xml
@@ -100,36 +100,6 @@
             </archive>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-shade-plugin</artifactId>
-          <configuration>
-            <minimizeJar>true</minimizeJar>
-            <filters>
-              <filter>
-                <artifact>*:*</artifact>
-                <includes>
-                </includes>
-                <excludes>
-                  <exclude>META-INFO/**/**</exclude>
-                  <exclude>META-INFO/services/**</exclude>
-                  <exclude>META-INFO/maven/**</exclude>
-                </excludes>
-              </filter>
-            </filters>
-            <outputDirectory>${service.basedir}/service-dist</outputDirectory>
-            <shadedArtifactAttached>true</shadedArtifactAttached>
-            
<shadedClassifierName>${os.detected.classifier}</shadedClassifierName>
-          </configuration>
-          <executions>
-            <execution>
-              <phase>package</phase>
-              <goals>
-                <goal>shade</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
       </plugins>
     </pluginManagement>
   </build>
diff --git a/mnemonic-sessions/pom.xml b/mnemonic-sessions/pom.xml
index 4cc5bc1..283587b 100644
--- a/mnemonic-sessions/pom.xml
+++ b/mnemonic-sessions/pom.xml
@@ -87,21 +87,6 @@
         <artifactId>maven-jar-plugin</artifactId>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <minimizeJar>true</minimizeJar>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.bsc.maven</groupId>
         <artifactId>maven-processor-plugin</artifactId>
         <executions>

Reply via email to