Last active
September 8, 2019 03:02
-
-
Save ggordonutech/c82dccbaa6bc4934f974c6a3ce437690 to your computer and use it in GitHub Desktop.
Maven package as jar pom config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>single</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<archive> | |
<manifest> | |
<addClasspath>true</addClasspath> | |
<!-- Ensure that you specify the fully qualified class name (package + class name) of your class with your runnable main below --> | |
<mainClass>jm.edu.utech.welcome.Driver</mainClass> | |
</manifest> | |
</archive> | |
<descriptorRefs> | |
<descriptorRef>jar-with-dependencies</descriptorRef> | |
</descriptorRefs> | |
</configuration> | |
</plugin> | |
You are welcome.
…On Sat, Sep 7, 2019, 21:13 ggordonutech ***@***.***> wrote:
@M-Facey <https://github.com/M-Facey> Thanks for sharing additional
instructions. I will update the gist to reflect same
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://gist.github.com/c82dccbaa6bc4934f974c6a3ce437690?email_source=notifications&email_token=ALI33YU3HMM3KGYZLDNL3ITQIRNU5A5CNFSM4IR57TA2YY3PNVWWK3TUL52HS4DFVNDWS43UINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAFYJXU#gistcomment-3019642>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALI33YRI42UKV64EYG2VT33QIRNU5ANCNFSM4IR57TAQ>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@M-Facey Thanks for sharing additional instructions. I will update the gist to reflect same