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)

Reply via email to