[ 
http://jira.codehaus.org/browse/MWEBSTART-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239419#action_239419
 ] 

James Olsen commented on MWEBSTART-116:
---------------------------------------

dependencyManagement does more than just manage versions.  It also allows you 
to set global exclusions etc.

Because dependencyManagement is being ignored, 'excluded' jars are incorrectly 
being added to the output.

Similarly where dependencyManagement is being used to 'version manage' an 
artifact to override the default version inherited from another dependency, the 
non overridden version is being used.

The version issue can be worked around by specifically including the transitive 
dependency in the jarResources and specifying the version, however I cannot 
find a workaround for the jar exclusion issue, e.g. jarResources does not have 
an exclusions element.

> jnlp-download-servlet should use dependencyManagement
> -----------------------------------------------------
>
>                 Key: MWEBSTART-116
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-116
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: Improvement
>          Components: jnlp-download-servlet
>    Affects Versions: 1.0-alpha-2
>         Environment: all
>            Reporter: deckrider
>
> Within jarResources, version should not be required.  If it is not provided, 
> it should be inherited from dependencyManagement.
> However, when I try follow that approach, I get this:
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Configuration error: groupId, artifactId or version missing for 
> jarResource[JarResource[ groupId='jboss', artifactId='jbossall-client', 
> version='null', classifier='null', mainClass='null' ]].

-- 
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