-
-
Notifications
You must be signed in to change notification settings - Fork 183
Exporting a jar file for Release
Peter Colapietro edited this page Jun 12, 2015
·
9 revisions
mvn clean package
A Maven run configuration for the "package" goal is necessary for taking the compiled code and packaging it in a runnable JAR. See screenshots below which detail how to create one.
Step 1. Right click on your Maven Project
need screenshots.
Step 2. Select "Maven Build" and create a new one.
need screenshots.
Step 3. Use the screenshot to create a run configuration for the package goal.
need screenshots.
The console view in Eclipse will display the output from running your Maven run configuration. This will detail where to find jars. The runnable jar is Makelangelo-{version.name}-jar-with-dependencies.jar NOT Makelangelo-{version.name}.jar
Where {version.name} is something like v7.1.0
It is recommend to read over this tutorial.