GitHub user thammegowda opened a pull request:
https://github.com/apache/incubator-joshua/pull/14
Added Maven assembly plugin
Added Maven Assembly plugin
As you know, this plugin helps to package all dependency for easier usage.
To package
mvn clean compile assembly:single
To run the default main class:
java -jar target/joshua-*-jar-with-dependencies.jar
To run any other class in jar, specify the class name:
java -cp target/joshua-*-jar-with-dependencies.jar
org.apache.joshua.decoder.JoshuaDecoder
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/thammegowda/incubator-joshua
jar-with-dependencies
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-joshua/pull/14.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #14
----
commit 575ca465553f2cbc7de06b8c362a3bff71f44de7
Author: Thamme Gowda <[email protected]>
Date: 2016-05-16T22:42:31Z
Added Maven assembly plugin
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---