[ 
http://jira.codehaus.org/browse/MWEBSTART-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerome Lacoste updated MWEBSTART-37:
------------------------------------

    Attachment: MWEBSTART-37.diff

Stephane, I was working on the exec plugin and remembered I had the same 
problem there as system scoped dependencies have to be treated specifically.

So I've got the following patch attached.

It looks like it works, but not sure if you want something special to happen to 
your system dependency (e.g. naming)

[EMAIL 
PROTECTED]:~/Code/OSS/m2/webstart-maven-plugin/plugin/src/test/projects/project1$
 ls -la target/jnlp/
total 7104
drwxr-xr-x 2 jerome jerome    4096 2007-08-25 20:49 .
drwxr-xr-x 3 jerome jerome    4096 2007-08-25 20:49 ..
-rw-r--r-- 1 jerome jerome   32794 2007-08-23 21:24 commons-cli-1.0.jar
-rw-r--r-- 1 jerome jerome   40660 2007-08-23 21:24 commons-logging-1.0.4.jar
-rw-r--r-- 1 jerome jerome    1411 2007-08-25 20:49 test.jnlp
-rw-r--r-- 1 jerome jerome 7169226 2007-08-25 20:49 tools.jar

Please let me know if that suits you.

> 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
>         Attachments: MWEBSTART-37.diff
>
>
> 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

Reply via email to