The following comment has been added to this issue:
Author: Ronald Holshausen
Created: Tue, 20 Jul 2004 8:03 AM
Body:
The classworlds.conf velocity template from version 1.2 of the plugin
does not exclude marked dependancies.
Changing it to:
main is $ubermain from app
[app]
#foreach ( $dep in $pom.dependencies )#if (!$dep.getProperty('uberjar.bundle') ||
$dep.getProperty('uberjar.bundle') == 'true')
load ${classworlds.lib}/$dep.artifact
#end#end
load ${classworlds.lib}/${self}.jar
solves this
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPUBERJAR-6?page=comments#action_21963
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPUBERJAR-6
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPUBERJAR-6
Summary: Don't include dependencies marked with a given property
Type: Wish
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-uberjar-plugin
Assignee: Jason van Zyl
Reporter: Jon Strayer
Created: Sun, 23 May 2004 5:15 PM
Updated: Tue, 20 Jul 2004 8:03 AM
Description:
My project uses libaries for testing (jUnit, MockObjects) that aren't needed when
deployed. It would be nice if the uberjar goal could not include dependencies that
were marked with a property (like testTime).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]