maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Arkadijovych Muntyanu (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5273) Transitive dependencies with scope provided ending up in the final artifact
Date Thu, 06 Mar 2014 22:42:59 GMT

    [ https://jira.codehaus.org/browse/MNG-5273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=342513#comment-342513
] 

Roman Arkadijovych Muntyanu edited comment on MNG-5273 at 3/6/14 4:42 PM:
--------------------------------------------------------------------------

I believe in our case the issue indeed might be related to MNG-5255 


was (Author: coldserenity):
I believe the issue indeed might be related to MNG-5255 

> Transitive dependencies with scope provided ending up in the final artifact
> ---------------------------------------------------------------------------
>
>                 Key: MNG-5273
>                 URL: https://jira.codehaus.org/browse/MNG-5273
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0.3, 3.0.4
>         Environment: Windows 7, Sun OS 5.1
>            Reporter: Ian Phipps
>            Assignee: Jason van Zyl
>
> Marking jaxws-rt as a provided dependency:
> {noformat}<dependency>
> 	<groupId>com.sun.xml.ws</groupId>
> 	<artifactId>jaxws-rt</artifactId>
> 	<version>2.1.4</version>
> 	<scope>provided</scope>
> </dependency>{noformat}
> Correctly resolves jaxb-impl as a provided dependency (dependency:tree output from 3.0.3
and 3.0.4):
> {noformat}[INFO] +- com.sun.xml.ws:jaxws-rt:jar:2.1.4:provided
> [INFO] | +- com.sun.xml.bind:jaxb-impl:jar:2.1.7:provided
> [INFO] | +- com.sun.xml.stream.buffer:streambuffer:jar:0.7:provided
> [INFO] | +- com.sun.xml.stream:sjsxp:jar:1.0.1:provided
> [INFO] | +- org.jvnet.staxex:stax-ex:jar:1.2:provided
> [INFO] | +- com.sun.org.apache.xml.internal:resolver:jar:20050927:provided
> [INFO] | \- org.jvnet:mimepull:jar:1.2:provided {noformat}
> But for some reason, in Maven 3 (tried 3.0.3 and 3.0.4), using a packaging type of "war",
jaxb-impl-2.1.7 ends up in the final artifact.
> It is correctly omitted from the final artifact in maven 2.x.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message