You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Jelinski (JIRA)" <ji...@apache.org> on 2019/01/08 09:46:00 UTC

[jira] [Commented] (MASSEMBLY-826) Assembly plugin is using Maven 2 dependency resolution algorithm even when used with Maven 3

    [ https://issues.apache.org/jira/browse/MASSEMBLY-826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736934#comment-16736934 ] 

Daniel Jelinski commented on MASSEMBLY-826:
-------------------------------------------

[~eolivelli] I'm pretty sure about that; maven reports guava 11.0.2 in "dependency collection stats" section when running debug build, and jar plugin adds guava 11.0.2 to manifest when instructed to.

Other than that, the issue was fixed between assembly plugin 3.1.0 and 3.1.1, the latter packs the right classes.

> Assembly plugin is using Maven 2 dependency resolution algorithm even when used with Maven 3
> --------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-826
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-826
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.6
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: C:\projects\build\apache-maven-3.3.9\bin\..
> Java version: 1.8.0_102, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_102\jre
> Default locale: en_US, platform encoding: Cp1250
> OS name: "windows server 2008 r2", version: "6.1", arch: "amd64", family: "dos"
>            Reporter: Daniel Jelinski
>            Priority: Major
>         Attachments: pom.xml
>
>
> Assembly plugin is using Maven 2 dependency resolution algorithm even when used with Maven 3. See attached POM.
> For comparison, run:
> mvn dependency:tree (returns Maven 3 dependencies)
> mvn dependency:tree -Dverbose (returns Maven 2 dependencies)
> The packages included in assembly should match the list returned by non-verbose version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)