Skip to content

Commit

Permalink
Fix shaded jar deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaturet committed Dec 9, 2024
1 parent 7f0ec48 commit 769c0e5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions shaded-jar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,28 @@
There used to be a dependency-plugin:copy-dependencies plugin entry here, but the
shade-plugin will explode the dependencies even if they aren't manually copied in.
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/otp-${project.version}-shaded.jar</file>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- We want to create a standalone jar that can be run on the command
line. Java does not really allow this - you cannot place jars inside of jars.
Expand Down

0 comments on commit 769c0e5

Please sign in to comment.