You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/04/16 15:26:41 UTC

[jira] [Commented] (MDEP-528) Plugin descriptor is missing configuration entries

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

Michael Osipov commented on MDEP-528:
-------------------------------------

Checked from trunk with MPLUGIN 3.5: it pretty much seems like that all array parameters are not considered. I think this is a bug in Maven Plugin Tools. [~rfscholte], what do you think?

> 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)