[ https://issues.apache.org/jira/browse/MDEP-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakub Bochenski updated MDEP-968: --------------------------------- Summary: analyze-exclusions crashes if there is no dependencyManagement element (was: analyze-exclusions crashes on if there is no dependencyManagement element) > 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 > ``` > Makes it impossible to use this rule in multimodule project unless you use > some hacks to disable it in parent only. -- This message was sent by Atlassian Jira (v8.20.10#820010)