You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2020/07/17 15:08:00 UTC

[jira] [Resolved] (MDEP-575) Inconsistent behaviour in dependency:sources between maven-dependency-plugin:2.10 and maven-dependency-plugin:3.0.z

     [ https://issues.apache.org/jira/browse/MDEP-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elliotte Rusty Harold resolved MDEP-575.
----------------------------------------
    Resolution: Cannot Reproduce

> Inconsistent behaviour in dependency:sources between maven-dependency-plugin:2.10 and maven-dependency-plugin:3.0.z
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-575
>                 URL: https://issues.apache.org/jira/browse/MDEP-575
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: sources
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Michal Jurc
>            Priority: Major
>
> The {{dependency:sources}} goal behaves inconsistently between 2.10 and later versions of the dependency plugin with dependencies provided by BOMs:
> {code:title=mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:sources}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building WildFly Quickstart: helloworld 11.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.10:sources (default-cli) @ helloworld ---
> [INFO] 
> [INFO] The following files have been resolved:
> [INFO]    org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:sources:1.0.0.Final:provided
> [INFO]    javax.enterprise:cdi-api:jar:sources:1.2:provided
> [INFO]    org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:sources:1.0.0.Final:provided
> [INFO]    javax.inject:javax.inject:jar:sources:1:provided
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.870 s
> [INFO] Finished at: 2017-07-10T14:32:55+02:00
> [INFO] Final Memory: 14M/298M
> [INFO] ------------------------------------------------------------------------
> {code}
> {code:title=mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.z:sources}
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building WildFly Quickstart: helloworld 11.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-dependency-plugin:3.0.1:sources (default-cli) @ helloworld ---
> [INFO] 
> [INFO] The following files have been resolved:
> [INFO]    javax.enterprise:cdi-api:jar:sources:1.2
> [INFO]    javax.inject:javax.inject:jar:sources:1
> [INFO]    org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:sources:1.0.0.Final
> [INFO]    org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:sources:1.0.0.Final
> [INFO] 
> [INFO] The following files have NOT been resolved:
> [INFO]    javax.enterprise:cdi-api:jar:1.2:provided
> [INFO]    javax.inject:javax.inject:jar:1:provided
> [INFO]    org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec:jar:1.0.0.Final:provided
> [INFO]    org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec:jar:1.0.0.Final:provided
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.815 s
> [INFO] Finished at: 2017-07-10T14:33:07+02:00
> [INFO] Final Memory: 13M/298M
> [INFO] ------------------------------------------------------------------------
> {code}
> The project used can be found [here|https://github.com/wildfly/quickstart/tree/11.x/helloworld].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)