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

szetszwo pushed a commit to branch release-3.1.3_review
in repository https://gitbox.apache.org/repos/asf/ratis.git

commit 2dbeaf593eb8c0837688a81efebfcb15c17a90a2
Author: Doroszlai, Attila <6454655+adorosz...@users.noreply.github.com>
AuthorDate: Sun Dec 22 17:11:13 2024 +0100

    RATIS-2222. Remove copy-rename-maven-plugin usage (#1194)
---
 pom.xml                   |  6 ------
 ratis-examples/pom.xml    | 19 +------------------
 ratis-experiments/pom.xml | 19 +------------------
 3 files changed, 2 insertions(+), 42 deletions(-)

diff --git a/pom.xml b/pom.xml
index 109c46728..ac3d237f1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -186,7 +186,6 @@
     <license-maven-plugin.version>2.2.0</license-maven-plugin.version>
 
     <protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
-    <copy-rename-maven-plugin.version>1.0</copy-rename-maven-plugin.version>
     <cyclonedx.version>2.8.0</cyclonedx.version>
 
     <spotbugs.version>4.2.1</spotbugs.version>
@@ -473,11 +472,6 @@
           <artifactId>license-maven-plugin</artifactId>
           <version>${license-maven-plugin.version}</version>
         </plugin>
-        <plugin>
-          <groupId>com.coderplus.maven.plugins</groupId>
-          <artifactId>copy-rename-maven-plugin</artifactId>
-          <version>${copy-rename-maven-plugin.version}</version>
-        </plugin>
 
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
diff --git a/ratis-examples/pom.xml b/ratis-examples/pom.xml
index c3d0eee05..efd3ba67d 100644
--- a/ratis-examples/pom.xml
+++ b/ratis-examples/pom.xml
@@ -151,7 +151,7 @@
             </goals>
             <configuration>
               <createDependencyReducedPom>false</createDependencyReducedPom>
-              <shadedArtifactAttached>true</shadedArtifactAttached>
+              <shadedArtifactAttached>false</shadedArtifactAttached>
               <transformers>
                 <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                   
<mainClass>org.apache.ratis.examples.common.Runner</mainClass>
@@ -184,23 +184,6 @@
           </roots>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>com.coderplus.maven.plugins</groupId>
-        <artifactId>copy-rename-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-file</id>
-            <phase>package</phase>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-            <configuration>
-              
<sourceFile>target/${project.artifactId}-${project.version}-shaded.jar</sourceFile>
-              
<destinationFile>target/${project.artifactId}-${project.version}.jar</destinationFile>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 </project>
diff --git a/ratis-experiments/pom.xml b/ratis-experiments/pom.xml
index 4c3bc9ccd..86ed7985f 100644
--- a/ratis-experiments/pom.xml
+++ b/ratis-experiments/pom.xml
@@ -121,7 +121,7 @@
             </goals>
             <configuration>
               <createDependencyReducedPom>false</createDependencyReducedPom>
-              <shadedArtifactAttached>true</shadedArtifactAttached>
+              <shadedArtifactAttached>false</shadedArtifactAttached>
               <filters>
                 <filter>
                   <artifact>*:*</artifact>
@@ -140,23 +140,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>com.coderplus.maven.plugins</groupId>
-        <artifactId>copy-rename-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>copy-file</id>
-            <phase>package</phase>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-            <configuration>
-              
<sourceFile>target/${project.artifactId}-${project.version}-shaded.jar</sourceFile>
-              
<destinationFile>target/${project.artifactId}-${project.version}.jar</destinationFile>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 </project>

Reply via email to