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

JVM default classloader assembly #9

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

Conversation

Phylock
Copy link

@Phylock Phylock commented Apr 30, 2013

Hi Serge

I looked into the issue I had with the classloader, mentioned here #8 (comment)
This pull request provide a more maven oriented solution.

As mentioned in the commit messages the result of this is that "mvn clean dependency:copy-dependencies install assembly:assembly -Dmaven.test.skip=true"
can be replaced with a "mvn clean package" command. This is, if both commits are accepted. This is only a change for the sonos-java destribution, and no files is removed from the result.

cheers
Phylock

Added the Maven Failsafe Plugin to run Integration Tests.
UnitTest which require external devices is moved to integration-test phase.
Rewrote sonos-java assembly to include all dependencies(including itself)
in the lib directory, and the launcher to the root directory.
No need for "mvn clean dependency:copy-dependencies install assembly:assembly -Dmaven.test.skip=true"
anymore, it is now done with "mvn clean package".

changes in manifest:
- Addded classpath "same as sonos-java.*.jar"
- Mainclass changed to "org.tensin.sonos.commander.CLIController"
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.

None yet

1 participant