[ 
https://jira.codehaus.org/browse/MENFORCER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Walton updated MENFORCER-126:
------------------------------------

    Attachment: pom.xml

Using {{maven-enforcer-plugin}} through a property. It complains about a 
missing valid version.
                
> requirePluginVersions misreports plugins with artifactIds defined through 
> properties
> ------------------------------------------------------------------------------------
>
>                 Key: MENFORCER-126
>                 URL: https://jira.codehaus.org/browse/MENFORCER-126
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>            Reporter: Joseph Walton
>            Priority: Minor
>         Attachments: pom.xml
>
>
> When a plugin artifact is defined through a property:
> {code}
> <properties>
>    <plugin.name>maven-enforcer-plugin</plugin.name>
> </properties>
> ...
> <build>
>     <plugins>
>         <plugin>
>             <artifactId>${plugin.name}</artifactId>
>             <version>1</version>
>          </plugin>
>     </plugins>
> </build>
> {code}
> then {{requirePluginVersions}} will complain about a missing valid version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to