You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markku Saarela (JIRA)" <ji...@codehaus.org> on 2010/02/20 16:05:55 UTC

[jira] Created: (MPH-74) effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.

effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.
--------------------------------------------------------------------------------------------------------

                 Key: MPH-74
                 URL: http://jira.codehaus.org/browse/MPH-74
             Project: Maven 2.x Help Plugin
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Markku Saarela
            Priority: Minor
         Attachments: MNG-2174.zip

Plugin configuration, version and dependencies defined in parent pom pluginManagement element failed to inherit to child pom's plugin defined in a profile. They are inherited correctly to child pom build element.

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

        

[jira] Updated: (MPH-74) effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.

Posted by "Markku Saarela (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markku Saarela updated MPH-74:
------------------------------

    Attachment: MNG-2174-2.zip

new project with 2 modules to produce different output.

> effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MPH-74
>                 URL: http://jira.codehaus.org/browse/MPH-74
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Markku Saarela
>            Assignee: Brett Porter
>            Priority: Minor
>         Attachments: MNG-2174-2.zip, MNG-2174.zip
>
>
> Plugin configuration, version and dependencies defined in parent pom pluginManagement element failed to inherit to child pom's plugin defined in a profile. They are inherited correctly to child pom build element.

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

        

[jira] Closed: (MPH-74) effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MPH-74.
--------------------------------

    Resolution: Not A Bug
      Assignee: Benjamin Bentmann  (was: Brett Porter)

This was a bug in the effective model calculation by Maven core, plugin management info should never show up in profiles. Profiles serve as model input, never as output for merge operations.

> effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MPH-74
>                 URL: http://jira.codehaus.org/browse/MPH-74
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Markku Saarela
>            Assignee: Benjamin Bentmann
>            Priority: Minor
>         Attachments: MNG-2174-2.zip, MNG-2174.zip
>
>
> Plugin configuration, version and dependencies defined in parent pom pluginManagement element failed to inherit to child pom's plugin defined in a profile. They are inherited correctly to child pom build element.

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

        

[jira] Closed: (MPH-74) effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MPH-74.
---------------------------

    Resolution: Cannot Reproduce
      Assignee: Brett Porter

it appears to be to me. Please provide more details about what you are seeing, and what you are expecting to see

> effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MPH-74
>                 URL: http://jira.codehaus.org/browse/MPH-74
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Markku Saarela
>            Assignee: Brett Porter
>            Priority: Minor
>         Attachments: MNG-2174.zip
>
>
> Plugin configuration, version and dependencies defined in parent pom pluginManagement element failed to inherit to child pom's plugin defined in a profile. They are inherited correctly to child pom build element.

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

        

[jira] Reopened: (MPH-74) effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.

Posted by "Markku Saarela (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markku Saarela reopened MPH-74:
-------------------------------


I have explained what confused me with this plugin configuration inheritance. What has changed when Maven 3.0-alpha-7 produces consistent output? Same result with version 2.1.1 running maven 2.2.1.

> effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MPH-74
>                 URL: http://jira.codehaus.org/browse/MPH-74
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Markku Saarela
>            Assignee: Brett Porter
>            Priority: Minor
>         Attachments: MNG-2174-2.zip, MNG-2174.zip
>
>
> Plugin configuration, version and dependencies defined in parent pom pluginManagement element failed to inherit to child pom's plugin defined in a profile. They are inherited correctly to child pom build element.

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

        

[jira] Commented: (MPH-74) effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.

Posted by "Markku Saarela (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPH-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215928#action_215928 ] 

Markku Saarela commented on MPH-74:
-----------------------------------

This produces different output in profiles element depending is plugin defined in sub module build plugins. If plugin is not defined as in sub2 then all configuration appears in profile plugin definition. If plugin is defined in build plugins as is sub1 module then inherited plugin configuration dissapper in profile plugin definition.

How ever i test this with Maven 3.0-alpha-7 when both submodule produces same output like Maven 2.2.1 version sub1 module produces (I can live with it :-) ). 

Sub 1 output:
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>sql-maven-plugin</artifactId>
              <executions>
                <execution>
                  <id>create-schema</id>
                  <phase>generate-test-sources</phase>
                  <goals>
                    <goal>execute</goal>
                  </goals>
                  <configuration>
                    <url>jdbc:derby:C:\files\projects\apache-jira\MNG-2174\sub1\target/db/CFGDBTEST;user=CFGDE
V;create=true</url>
                    <srcFiles>
                      <srcFile>create.sql</srcFile>
                    </srcFiles>
                  </configuration>
                </execution>
              </executions>
            </plugin>

Sub 2 output:

           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>sql-maven-plugin</artifactId>
             <version>1.4</version>
             <executions>
               <execution>
                 <id>create-schema</id>
                 <phase>generate-test-sources</phase>
                 <goals>
                   <goal>execute</goal>
                 </goals>
                 <configuration>
                   <url>jdbc:derby:C:\files\projects\apache-jira\MNG-2174\sub2\target/db/CFGDBTEST;user=CFGDE
;create=true</url>
                   <srcFiles>
                     <srcFile>create.sql</srcFile>
                   </srcFiles>
                 </configuration>
               </execution>
             </executions>
             <dependencies>
               <dependency>
                 <groupId>org.apache.derby</groupId>
                 <artifactId>derby</artifactId>
                 <version>10.5.3.0_1</version>
               </dependency>
             </dependencies>
             <configuration>
               <driver>org.apache.derby.jdbc.EmbeddedDriver</driver>
               <autocommit>true</autocommit>
             </configuration>
           </plugin>


> effective-pom goal pluginManagement plugin configuration inheritance to child pom profile plugin failed.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MPH-74
>                 URL: http://jira.codehaus.org/browse/MPH-74
>             Project: Maven 2.x Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Markku Saarela
>            Assignee: Brett Porter
>            Priority: Minor
>         Attachments: MNG-2174-2.zip, MNG-2174.zip
>
>
> Plugin configuration, version and dependencies defined in parent pom pluginManagement element failed to inherit to child pom's plugin defined in a profile. They are inherited correctly to child pom build element.

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