Skip to content

Commit 551b8c9

Browse files
authored
RATIS-2222. Remove copy-rename-maven-plugin usage (#1194)
1 parent 92c4f72 commit 551b8c9

File tree

3 files changed

+2
-42
lines changed

3 files changed

+2
-42
lines changed

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@
186186
<license-maven-plugin.version>2.2.0</license-maven-plugin.version>
187187

188188
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
189-
<copy-rename-maven-plugin.version>1.0</copy-rename-maven-plugin.version>
190189
<cyclonedx.version>2.8.0</cyclonedx.version>
191190

192191
<spotbugs.version>4.2.1</spotbugs.version>
@@ -473,11 +472,6 @@
473472
<artifactId>license-maven-plugin</artifactId>
474473
<version>${license-maven-plugin.version}</version>
475474
</plugin>
476-
<plugin>
477-
<groupId>com.coderplus.maven.plugins</groupId>
478-
<artifactId>copy-rename-maven-plugin</artifactId>
479-
<version>${copy-rename-maven-plugin.version}</version>
480-
</plugin>
481475

482476
<plugin>
483477
<groupId>org.apache.maven.plugins</groupId>

ratis-examples/pom.xml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
</goals>
152152
<configuration>
153153
<createDependencyReducedPom>false</createDependencyReducedPom>
154-
<shadedArtifactAttached>true</shadedArtifactAttached>
154+
<shadedArtifactAttached>false</shadedArtifactAttached>
155155
<transformers>
156156
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
157157
<mainClass>org.apache.ratis.examples.common.Runner</mainClass>
@@ -184,23 +184,6 @@
184184
</roots>
185185
</configuration>
186186
</plugin>
187-
<plugin>
188-
<groupId>com.coderplus.maven.plugins</groupId>
189-
<artifactId>copy-rename-maven-plugin</artifactId>
190-
<executions>
191-
<execution>
192-
<id>copy-file</id>
193-
<phase>package</phase>
194-
<goals>
195-
<goal>copy</goal>
196-
</goals>
197-
<configuration>
198-
<sourceFile>target/${project.artifactId}-${project.version}-shaded.jar</sourceFile>
199-
<destinationFile>target/${project.artifactId}-${project.version}.jar</destinationFile>
200-
</configuration>
201-
</execution>
202-
</executions>
203-
</plugin>
204187
</plugins>
205188
</build>
206189
</project>

ratis-experiments/pom.xml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
</goals>
122122
<configuration>
123123
<createDependencyReducedPom>false</createDependencyReducedPom>
124-
<shadedArtifactAttached>true</shadedArtifactAttached>
124+
<shadedArtifactAttached>false</shadedArtifactAttached>
125125
<filters>
126126
<filter>
127127
<artifact>*:*</artifact>
@@ -140,23 +140,6 @@
140140
</execution>
141141
</executions>
142142
</plugin>
143-
<plugin>
144-
<groupId>com.coderplus.maven.plugins</groupId>
145-
<artifactId>copy-rename-maven-plugin</artifactId>
146-
<executions>
147-
<execution>
148-
<id>copy-file</id>
149-
<phase>package</phase>
150-
<goals>
151-
<goal>copy</goal>
152-
</goals>
153-
<configuration>
154-
<sourceFile>target/${project.artifactId}-${project.version}-shaded.jar</sourceFile>
155-
<destinationFile>target/${project.artifactId}-${project.version}.jar</destinationFile>
156-
</configuration>
157-
</execution>
158-
</executions>
159-
</plugin>
160143
</plugins>
161144
</build>
162145
</project>

0 commit comments

Comments
 (0)