[ http://jira.codehaus.org/browse/MWEBSTART-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108584 ]
Jerome Lacoste commented on MWEBSTART-37: ----------------------------------------- Stephane, yes my first patch was crap. I mis-read your original description. I am not sure what you meant by: "Also, please note that the exclude filter only work against compile-scope dependencies so the only way to get rid of the system scope jar is to actually use an exclusion on the dependency (since it's coming transitively)." But I've applied anyway something which I hope will fix the problem project1$ ls -la target/jnlp/ total 88 drwxr-xr-x 2 jerome jerome 4096 2007-09-29 15:16 . drwxr-xr-x 3 jerome jerome 4096 2007-09-29 15:16 .. -rw-r--r-- 1 jerome jerome 32796 2007-09-29 15:16 commons-cli-1.0.jar -rw-r--r-- 1 jerome jerome 40663 2007-09-29 15:16 commons-logging-1.0.4.jar -rw-r--r-- 1 jerome jerome 1387 2007-09-29 15:16 test.jnlp Can you test ? > 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 > Assignee: Jerome Lacoste > Priority: Blocker > Fix For: 1.0-alpha-2 > > 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