[
http://jira.codehaus.org/browse/MWEBSTART-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95527
]
Jerome Lacoste commented on MWEBSTART-37:
-----------------------------------------
I understand that you may have a problem with system dependencies but provided
should be handled properly.
The relevant code is I think:
https://svn.codehaus.org/mojo/trunk/mojo//webstart-maven-plugin/plugin/src/main/java/org/codehaus/mojo/webstart/AbstractJnlpMojo.java
private void processDependency( Artifact artifact )
throws IOException
{
// TODO: scope handler
// Include runtime and compile time libraries
if ( !Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) &&
!Artifact.SCOPE_TEST.equals( artifact.getScope() ) )
Would you mind trying to send a patch ?
> Webstart packages provided/system dependencies and exclude filter matches
> against compiled-scope dep only
> ---------------------------------------------------------------------------------------------------------
>
> Key: MWEBSTART-37
> URL: http://jira.codehaus.org/browse/MWEBSTART-37
> Project: Maven 2.x Webstart Plugin
> Issue Type: Bug
> Affects Versions: 1.0-alpha-2
> Reporter: Stephane Nicoll
> Priority: Blocker
>
> The webstart plugin packages all dependencies, even those with
> system/provided scope.
> I have a project that depends on the sun tools.jar to compile. This project
> is an indirect (transient) dep of the project and I have tools.jar packaged
> in the bundle !!! (same for servlet-api which is flagged properly as
> provided).
> The exclude filter however only matches dependencies with scope compile.
> So there is no way to exclude those (They should not be packaged in a first
> place)
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email