[
https://issues.apache.org/jira/browse/MDEP-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950380#comment-14950380
]
Michael Osipov commented on MDEP-506:
-------------------------------------
[~olivier o] Please have a look at the discussion in the linked issue. A
missing version information in the depMgt section is not an error as it is a
partial template. This would ultimately mean that if {{<version>}} is not
given, the check should be skipped. Did the other analyze goals fail with your
project?
> NPE in AnalyzeDepMgt.getMismatch
> --------------------------------
>
> Key: MDEP-506
> URL: https://issues.apache.org/jira/browse/MDEP-506
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: analyze
> Affects Versions: 2.10
> Environment: Apache Maven 3.3.3
> (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
> Java version: 1.8.0_40, vendor: Oracle Corporation
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"
> Reporter: olivier o
> Assignee: Michael Osipov
>
> The goal analyze-dep-mgt generates an NPE. Please check the github link
> below to repoduce this issue:
> https://github.com/Orange-OpenSource/mdep-506-analyse-dep-mgt
> Caused by: java.lang.NullPointerException
> at
> org.apache.maven.plugin.dependency.analyze.AnalyzeDepMgt.getMismatch(AnalyzeDepMgt.java:272)
> at
> org.apache.maven.plugin.dependency.analyze.AnalyzeDepMgt.checkDependencyManagement(AnalyzeDepMgt.java:175)
> at
> org.apache.maven.plugin.dependency.analyze.AnalyzeDepMgt.execute(AnalyzeDepMgt.java:102)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)