You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Höller (JIRA)" <ji...@apache.org> on 2016/06/15 08:18:09 UTC
[jira] [Created] (MDEP-528) Plugin descriptor is missing
configuration entries
Martin Höller created MDEP-528:
----------------------------------
Summary: Plugin descriptor is missing configuration entries
Key: MDEP-528
URL: https://issues.apache.org/jira/browse/MDEP-528
Project: Maven Dependency Plugin
Issue Type: Bug
Affects Versions: 2.10
Reporter: Martin Höller
Priority: Minor
The plugin descriptor seem to be missing some <configuration> entries, which leads to XML errors in IDEs.
According to the documentation (https://maven.apache.org/plugins/maven-dependency-plugin/examples/exclude-dependencies-from-dependency-analysis.html) the analyse goal supports an "ignoredUsedUndeclaredDependencies" parameter. This parameter works as expected when following the instructions on the mentioned documentation page.
However, the IDE reports invalid XML inside the <configuation>-tag, for the >ignoredUsedUndeclaredDependencies> tag. Looking at the plugin descriptor plugin.xml inside the maven-dependency-plugin-2.10.jar, there is a configuration-entry that is missing some parameters:
<configuration>
<analyzer implementation="java.lang.String" default-value="default">${analyzer}</analyzer>
<baseDir implementation="java.io.File" default-value="${basedir}"/>
<failOnWarning implementation="boolean" default-value="false">${failOnWarning}</failOnWarning>
<ignoreNonCompile implementation="boolean" default-value="false">${ignoreNonCompile}</ignoreNonCompile>
<outputDirectory implementation="java.io.File" default-value="${project.build.directory}"/>
<outputXML implementation="boolean" default-value="false">${outputXML}</outputXML>
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/>
<scriptableFlag implementation="java.lang.String" default-value="$$$%%%">${scriptableFlag}</scriptableFlag>
<scriptableOutput implementation="boolean" default-value="false">${scriptableOutput}</scriptableOutput>
<skip implementation="boolean" default-value="false">${mdep.analyze.skip}</skip>
<verbose implementation="boolean" default-value="false">${verbose}</verbose>
</configuration>
Seems like this descriptor needs to be updated/re-generated.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)