[ 
https://issues.apache.org/jira/browse/MDEP-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970422#comment-15970422
 ] 

Robert Scholte commented on MDEP-528:
-------------------------------------

The mentioned {{<configuration/>}} is used in case there's a default value 
and/or a property which can be used to set it. You should have a look at the 
{{parameters/>}} 

> 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
>          Components: analyze
>    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:
> {code:xml}
>       <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>
> {code}
> Seems like this descriptor needs to be updated/re-generated.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to