Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16e13eb
commit f53c10c
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
execshadejar | ||
|
||
OVERVIEW | ||
|
||
This is a bare-bones maven project that builds an all-in-one executable | ||
jar. It's meant to be copied and re-used for other projects, exactly | ||
like a maven artifact. I would like to upload it somewhere so it can | ||
become freely available, but I don't know how. So for now, it sits in | ||
github. | ||
|
||
A CLI library, JCommander is included by default to demonstrate that | ||
dependencies are rolled into the resulting jar. | ||
|
||
The latest (as of this time) junit is included, 4.10, and a pair | ||
of test classes are included to demonstrate annotation-based testing. | ||
|
||
USAGE | ||
|
||
Write your own code. Modify pom.xml to have the main method you want | ||
invoked if the jar file is directly executed via java -jar. | ||
|