![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.0-beta-4, 1.0-beta-3 |
|
Assignee:
|
Unassigned |
|
Attachments:
|
MWEBSTART-testscope.zip |
|
Components:
|
jnlp-download-servlet |
|
Created:
|
11/Dec/13 4:28 AM
|
|
Description:
|
In my project test jars (junit.jar etc.) are included in the webstart application.
The attached test project will demonstrate the behaviour:
Modules with their dependencies:
dep1: junit (compile scope)
dep2: dep1 (default scope)
junit (test scope)
webstart: dep2 (as jarResource)
The webstart.war now includes 4 jars:
dep1.jar and dep2.jar as expected
junit.jar and hamcrest.jar (a dependency of junit) are not expected.
mvn dependency:resolve on dep2 shows:
c:\Download\MWEBSTART-testscope\dep2>mvn dependency:resolve
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------------------------------------------------
[INFO] Building dep2 0.0.1-SNAPSHOT
[INFO] ----------------------------------------------------------------
[INFO]
[INFO] — maven-dependency-plugin:2.1:resolve (default-cli) @ dep2 —
[INFO]
[INFO] The following files have been resolved:
[INFO] junit:junit:jar:4.10:test
[INFO] org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] test.group:dep1:jar:0.0.1-SNAPSHOT:compile
I would expect that the 2 test jars are not included.
|
|
Environment:
|
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)
Maven home: c:\Daten\apache-maven-3.0.5
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: c:\Program Files (x86)\Java\jdk1.7.0_45\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
|
|
Project:
|
Mojo's Webstart Maven Plugin
|
|
Priority:
|
Major
|
|
Reporter:
|
Christian Göller
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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