You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/04/15 23:25:42 UTC

[jira] [Closed] (MDEP-484) NullPointerException when using tree goal with include parameter

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

Michael Osipov closed MDEP-484.
-------------------------------
    Resolution: Cannot Reproduce

Works for me:

{noformat}
C:\Users\mosipov\Downloads>mvn dependency:tree  -Dincludes=:::*-SNAPSHOT -U
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building tree-npe 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ tree-npe ---
[INFO] dependency-issues:tree-npe:jar:1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.759 s
[INFO] Finished at: 2017-04-16T01:24:21+02:00
[INFO] Final Memory: 12M/241M
[INFO] ------------------------------------------------------------------------
{noformat}

> NullPointerException when using tree goal with include parameter
> ----------------------------------------------------------------
>
>                 Key: MDEP-484
>                 URL: https://issues.apache.org/jira/browse/MDEP-484
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: tree
>    Affects Versions: 2.10
>            Reporter: Marvin Lütgenau
>         Attachments: dependency-issues.zip, mdep484-m2.log, mdep484-m3.log, pom.xml
>
>
> The tree goal aborts with a NullPointerException when using the includes parameter, if there is any dependency to an artifact that uses a range version.
> Example call:
> mvn dependency:tree -Dverbose -Dincludes=:::*-SNAPSHOT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)