You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joseph Walton (JIRA)" <ji...@codehaus.org> on 2011/12/14 04:29:02 UTC
[jira] (MENFORCER-126) requirePluginVersions misreports plugins
with artifactIds defined through properties
Joseph Walton created MENFORCER-126:
---------------------------------------
Summary: 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
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
[jira] (MENFORCER-126) requirePluginVersions misreports plugins
with artifactIds defined through properties
Posted by "Joseph Walton (JIRA)" <ji...@codehaus.org>.
[ 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