[regression] Configuration from plugin management is not applied to goals 
invoked from CLI
------------------------------------------------------------------------------------------

                 Key: MNG-4321
                 URL: http://jira.codehaus.org/browse/MNG-4321
             Project: Maven 2
          Issue Type: Bug
          Components: Plugins and Lifecycle
    Affects Versions: 3.0-alpha-3
            Reporter: Benjamin Bentmann


E.g. for
{code:xml}
<build>
  <pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>1.3</version>
        <configuration>
          <tasks>
            <echo>PASSED</echo>
          </tasks>
        </configuration>
      </plugin>
    </plugins>
  </pluginManagement>
</build>
{code}
and "mvn antrun:run" nothing gets printed, i.e. the configured echo task is 
lost.

The bug only applies to those plugins that are not also given in the regular 
build/plugins sections, either explicitly or implicitly by lifecycle mappings.

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

        

Reply via email to