[
http://jira.codehaus.org/browse/MWEBSTART-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105561
]
Jerome Lacoste commented on MWEBSTART-37:
-----------------------------------------
Stephane,
I haven't been able to reproduce the problem.
I've added a dummy system dependency to one of my test projects, and it doesn't
get picked up by the plugin.
Am I missing something ?
Can you send a test case ?
Index: src/test/projects/project1/pom.xml
===================================================================
--- src/test/projects/project1/pom.xml (revision 5011)
+++ src/test/projects/project1/pom.xml (working copy)
@@ -90,5 +90,12 @@
<artifactId>commons-lang</artifactId>
<version>2.1</version>
</dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.6.5</version>
+ <scope>system</scope>
+ <systemPath>/tmp/foobar.jar</systemPath>
+ </dependency>
</dependencies>
</project>
> 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