Skip to content

Commit

Permalink
Merge pull request #21 from Wolf2323/shadingCopyFix
Browse files Browse the repository at this point in the history
moved antrun configuration after the shading process, so the shading …
  • Loading branch information
Wolf2323 authored Nov 28, 2024
2 parents 7062358 + 739a518 commit 518da58
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,30 +311,6 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>conditional-copy</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar"
tofile="${project.build.directory}/${project.name}.jar"
overwrite="true"
quiet="true"
verbose="true"
failonerror="false"
preservelastmodified="true"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
Expand Down Expand Up @@ -533,6 +509,30 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>conditional-copy</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar"
tofile="${project.build.directory}/${project.name}.jar"
overwrite="true"
quiet="true"
verbose="true"
failonerror="false"
preservelastmodified="true"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.ec4j.maven</groupId>
<artifactId>editorconfig-maven-plugin</artifactId>
Expand Down

0 comments on commit 518da58

Please sign in to comment.