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

Jakub Bochenski updated MDEP-968:
---------------------------------
    Description: 
```
Execution analyze-exclusions of goal 
org.apache.maven.plugins:maven-dependency-plugin:3.8.1:analyze-exclusions 
failed: Cannot invoke 
"org.apache.maven.model.DependencyManagement.getDependencies()" because the 
return value of 
"org.apache.maven.project.MavenProject.getDependencyManagement()" is null
```


  was:
```
Execution analyze-exclusions of goal 
org.apache.maven.plugins:maven-dependency-plugin:3.8.1:analyze-exclusions 
failed: Cannot invoke 
"org.apache.maven.model.DependencyManagement.getDependencies()" because the 
return value of 
"org.apache.maven.project.MavenProject.getDependencyManagement()" is null
```

Makes it impossible to use this rule in multimodule project unless you use some 
hacks to disable it in parent only.


> analyze-exclusions crashes if there is no dependencyManagement element
> ----------------------------------------------------------------------
>
>                 Key: MDEP-968
>                 URL: https://issues.apache.org/jira/browse/MDEP-968
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>            Reporter: Jakub Bochenski
>            Priority: Major
>
> ```
> Execution analyze-exclusions of goal 
> org.apache.maven.plugins:maven-dependency-plugin:3.8.1:analyze-exclusions 
> failed: Cannot invoke 
> "org.apache.maven.model.DependencyManagement.getDependencies()" because the 
> return value of 
> "org.apache.maven.project.MavenProject.getDependencyManagement()" is null
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to