This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 551b8c94b RATIS-2222. Remove copy-rename-maven-plugin usage (#1194)
551b8c94b is described below
commit 551b8c94b78b8e8611c6c77794617d12682a9140
Author: Doroszlai, Attila <[email protected]>
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 73fa42756..c454d4011 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 a0e861ed6..ce594d332 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 3ea72f6e0..086cff583 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>