mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +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>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<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>
|
||||
</execution>
|
||||
</executions>
|
||||
|
Loading…
Reference in New Issue
Block a user