Plugin config not inherited via module
--------------------------------------

         Key: MNG-373
         URL: http://jira.codehaus.org/browse/MNG-373
     Project: m2
        Type: Bug
  Components: maven-core  
    Versions: 2.0-alpha-1    
 Environment: Windows XP, Cygwin.
    Reporter: Mark Hobson


Plugin config is not inherited from 'myparent' to 'mycomponent' in this 
scenario:

A parent pom:

<project>
       <modelVersion>4.0.0</modelVersion>
       <groupId>mygroup</groupId>
       <artifactId>myparent</artifactId>
       <packaging>pom</packaging>
       <version>0.1-SNAPSHOT</version>
       <build>
               <pluginManagement>
                       <plugins>
                               <plugin>
                                       
<artifactId>maven-compiler-plugin</artifactId>
                                       <version>1.0-alpha-2-SNAPSHOT</version>
                                       <configuration>
                                               <source>1.5</source>
                                               <target>1.5</target>
                                       </configuration>
                               </plugin>
                       </plugins>
               </pluginManagement>
       </build>
</project>

A project pom:

<project>
       <parent>
               <groupId>mygroup</groupId>
               <artifactId>myparent</artifactId>
               <version>0.1-SNAPSHOT</version>
       </parent>
       <modelVersion>4.0.0</modelVersion>
       <groupId>mygroup</groupId>
       <artifactId>myproject</artifactId>
       <packaging>pom</packaging>
       <version>0.1-SNAPSHOT</version>
       <modules>
               <module>mycomponent</module>
       </modules>
</project>

And a component pom:

<project>
       <parent>
               <groupId>mygroup</groupId>
               <artifactId>myproject</artifactId>
               <version>0.1-SNAPSHOT</version>
       </parent>
       <modelVersion>4.0.0</modelVersion>
       <groupId>mygroup</groupId>
       <artifactId>mycomponent</artifactId>
       <packaging>jar</packaging>
       <version>0.1-SNAPSHOT</version>
</project>

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to