Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for building standalone jar with included libs and fix for run-mapper.sh #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

borsna
Copy link

@borsna borsna commented Aug 6, 2014

The fix for run-mapper.sh skips the use of the -jar argument and gives the main class as an argument instead. When -jar is used -cp is ignored:
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html#jar
When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored.

The change in pom.xml adds a second jar file for the target where all the libraries are included.
This makes the application easier to run without the need of run-mapper.sh

borsna added 2 commits August 6, 2014 21:24
builds a jar with all the dependent libraries included for easier depployment
If -jar argument is given classpath given by -cp is ignored, this is a fix for this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant