mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 02:05:53 +00:00
Creating a useful shaded jar, that can be run with java -jar.
This appeared to be in the video for building a simple wallet, but not in the pom itself.
This commit is contained in:
parent
f82f160c2c
commit
3d7d649827
@ -40,6 +40,12 @@
|
|||||||
</filters>
|
</filters>
|
||||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||||
<shadedClassifierName>bundled</shadedClassifierName>
|
<shadedClassifierName>bundled</shadedClassifierName>
|
||||||
|
<transformers>
|
||||||
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||||
|
<mainClass>${artifactId}.Main</mainClass>
|
||||||
|
</transformer>
|
||||||
|
</transformers>
|
||||||
|
<outputFile>target/${artifactId}-shaded.jar</outputFile>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user