You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2008/04/22 14:46:55 UTC
[jira] Created: (MNG-3539) Report plugins with inherited=false
dropped by profile injector
Report plugins with inherited=false dropped by profile injector
---------------------------------------------------------------
Key: MNG-3539
URL: http://jira.codehaus.org/browse/MNG-3539
Project: Maven 2
Issue Type: Bug
Components: Inheritance and Interpolation, Profiles
Affects Versions: 2.0.9
Reporter: Benjamin Bentmann
Priority: Minor
Attachments: reporting-profile-merge.patch
Consider the following POM snippet:
{code:xml}
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.3</version>
<inherited>false</inherited>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>extended-site</id>
<reporting>
... some other plugins but excluding the surefire-report-plugin ....
</reporting>
</profile>
</profiles>
{code}
When running "mvn site -P extended-site", the Surefire Report Plugin will be excluded from the site output.
For some reason, the {{DefaultProfileInjector}} is dropping plugins which have {{inherited=false}}. Inheritance shouldn't matter here, it's all about the same POM, no parent-child play.
Attached is a unit test to show the failure. An IT will follow now that I have the JIRA ticket.
--
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: (MNG-3539) Report plugins with inherited=false
dropped by profile injector
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl updated MNG-3539:
-------------------------------
Fix Version/s: (was: 2.2.2)
> Report plugins with inherited=false dropped by profile injector
> ---------------------------------------------------------------
>
> Key: MNG-3539
> URL: http://jira.codehaus.org/browse/MNG-3539
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Inheritance and Interpolation, Profiles
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Priority: Minor
> Attachments: MNG-3539.patch, reporting-profile-merge.patch
>
>
> Consider the following POM snippet:
> {code:xml}
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> <version>2.3</version>
> <inherited>false</inherited>
> </plugin>
> </plugins>
> </reporting>
> <profiles>
> <profile>
> <id>extended-site</id>
> <reporting>
> ... some other plugins but excluding the surefire-report-plugin ....
> </reporting>
> </profile>
> </profiles>
> {code}
> When running "mvn site -P extended-site", the Surefire Report Plugin will be excluded from the site output.
> For some reason, the {{DefaultProfileInjector}} is dropping plugins which have {{inherited=false}}. Inheritance shouldn't matter here, it's all about the same POM, no parent-child play.
> Attached is a unit test to show the failure. An IT will follow now that I have the JIRA ticket.
--
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: (MNG-3539) Report plugins with inherited=false
dropped by profile injector
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MNG-3539:
----------------------------
Fix Version/s: (was: 2.0.x)
2.0.11
promoting for fix in 2.0.11.
> Report plugins with inherited=false dropped by profile injector
> ---------------------------------------------------------------
>
> Key: MNG-3539
> URL: http://jira.codehaus.org/browse/MNG-3539
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation, Profiles
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Priority: Minor
> Fix For: 2.0.11
>
> Attachments: MNG-3539.patch, reporting-profile-merge.patch
>
>
> Consider the following POM snippet:
> {code:xml}
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> <version>2.3</version>
> <inherited>false</inherited>
> </plugin>
> </plugins>
> </reporting>
> <profiles>
> <profile>
> <id>extended-site</id>
> <reporting>
> ... some other plugins but excluding the surefire-report-plugin ....
> </reporting>
> </profile>
> </profiles>
> {code}
> When running "mvn site -P extended-site", the Surefire Report Plugin will be excluded from the site output.
> For some reason, the {{DefaultProfileInjector}} is dropping plugins which have {{inherited=false}}. Inheritance shouldn't matter here, it's all about the same POM, no parent-child play.
> Attached is a unit test to show the failure. An IT will follow now that I have the JIRA ticket.
--
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: (MNG-3539) Report plugins with inherited=false
dropped by profile injector
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-3539:
-----------------------------------
Attachment: MNG-3539.patch
Failing IT
> Report plugins with inherited=false dropped by profile injector
> ---------------------------------------------------------------
>
> Key: MNG-3539
> URL: http://jira.codehaus.org/browse/MNG-3539
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation, Profiles
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Priority: Minor
> Attachments: MNG-3539.patch, reporting-profile-merge.patch
>
>
> Consider the following POM snippet:
> {code:xml}
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> <version>2.3</version>
> <inherited>false</inherited>
> </plugin>
> </plugins>
> </reporting>
> <profiles>
> <profile>
> <id>extended-site</id>
> <reporting>
> ... some other plugins but excluding the surefire-report-plugin ....
> </reporting>
> </profile>
> </profiles>
> {code}
> When running "mvn site -P extended-site", the Surefire Report Plugin will be excluded from the site output.
> For some reason, the {{DefaultProfileInjector}} is dropping plugins which have {{inherited=false}}. Inheritance shouldn't matter here, it's all about the same POM, no parent-child play.
> Attached is a unit test to show the failure. An IT will follow now that I have the JIRA ticket.
--
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: (MNG-3539) Report plugins with inherited=false
dropped by profile injector
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3539:
------------------------------
Fix Version/s: 2.0.x
> Report plugins with inherited=false dropped by profile injector
> ---------------------------------------------------------------
>
> Key: MNG-3539
> URL: http://jira.codehaus.org/browse/MNG-3539
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation, Profiles
> Affects Versions: 2.0.9
> Reporter: Benjamin Bentmann
> Priority: Minor
> Fix For: 2.0.x
>
> Attachments: MNG-3539.patch, reporting-profile-merge.patch
>
>
> Consider the following POM snippet:
> {code:xml}
> <reporting>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-report-plugin</artifactId>
> <version>2.3</version>
> <inherited>false</inherited>
> </plugin>
> </plugins>
> </reporting>
> <profiles>
> <profile>
> <id>extended-site</id>
> <reporting>
> ... some other plugins but excluding the surefire-report-plugin ....
> </reporting>
> </profile>
> </profiles>
> {code}
> When running "mvn site -P extended-site", the Surefire Report Plugin will be excluded from the site output.
> For some reason, the {{DefaultProfileInjector}} is dropping plugins which have {{inherited=false}}. Inheritance shouldn't matter here, it's all about the same POM, no parent-child play.
> Attached is a unit test to show the failure. An IT will follow now that I have the JIRA ticket.
--
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