You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2005/05/09 13:44:29 UTC

[jira] Created: (MNG-373) Plugin config not inherited via module

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-373) Plugin config not inherited via module

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-373?page=all ]

Brett Porter updated MNG-373:
-----------------------------

    Fix Version: 2.0-alpha-2

> 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
>      Fix For: 2.0-alpha-2

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-373) Plugin config not inherited via module

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-373?page=all ]
     
Brett Porter closed MNG-373:
----------------------------

    Resolution: Fixed

> 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
>      Fix For: 2.0-alpha-2

>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org