does not detect version for plugin configured in profiles
---------------------------------------------------------
Key: MENFORCER-45
URL: http://jira.codehaus.org/browse/MENFORCER-45
Project: Maven 2.x Enforcer Plugin
Issue Type: Bug
Components: Standard Rules
Affects Versions: 1.0
Reporter: nicolas de loof
Assignee: Brian Fox
Here is my POM.xml :
...
<profiles>
<profile>
<id>cxf</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>2.05.-incubator</version>
...
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequirePluginVersions
failed with message:
Some plugins are missing valid versions:(LATEST RELEASE are not allowed )
org.apache.cxf:cxf-codegen-plugin. The version currently in use is
2.0.5-incubator
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira