argouml-tigris-org / argouml

Main project of argouml. Some information in the wiki. Some old releases in releases. (depends on parentpom, testmodels)
246 stars 92 forks source link

Fix #20: Maven plugin to create a self contained ArgoUML jar file #21

Closed stcarrez closed 4 years ago

stcarrez commented 4 years ago

Use the maven-assembly-plugin to create a single jar with dependencies that we can use to distribute and launch ArgoUML. Usage is:

java -jar argouml-jar-with-dependencies.jar

Change-Id: I9c91d156123b116965d0378a3297968d6587d92e

linustolke commented 4 years ago

Imported to gerrithub.

simonjwright commented 3 years ago

The comment in the commit tells how to use the jar once it’s been created, but not how to create it (it didn’t get created for me, with just mvn build).

stcarrez commented 3 years ago

@simonjwright, you can use the command:

mvn package

It will run the unit tests. I think you can skip them by running

mvn package -DskipTests=true