Reputation: 12146
I would like to do the following with the maven:
Is this possible in Maven using assembly or any other plugin?
Upvotes: 0
Views: 719
Reputation: 7994
i would split this into two projects and for convenience a parent module, like this:
projectX
|- codeproject
|- packingproject
\- pom.xml
codeproject:
packagingproject:
src/main/resources/start.bat
codeproject.jar
with copy-dependenciesparent pom:
Note:
be sure to call install on your codeproject so that the jar gets copied to your local maven repository, otherwise you may end with a file not found or an old version of your code.
Upvotes: 1