Support multiple executions
---------------------------

                 Key: MVERSIONS-128
                 URL: http://jira.codehaus.org/browse/MVERSIONS-128
             Project: Maven 2.x Versions Plugin
          Issue Type: Improvement
    Affects Versions: 1.2
         Environment: maven 2.2.1, jdk 1.6
            Reporter: Brian Relph


I am configuring 2 profiles, one that activates the dependency-updates report, 
and the other that activates the plugins-update report.  However, if i activate 
both profiles, only 1 of the reports gets run.  Is that because the reporting 
section does not allow more than 1 execution?  Is there any way to solve this 
issue?  I have resorted to creating a third profile that activates both reports 
at the same time, but this is not ideal.

Sample Config:

                <!-- Version Reports -->
                <profile>
                        <id>all-updates-report</id>
                        <reporting>
                                <plugins>
                                        <plugin>
                                                
<groupId>org.codehaus.mojo</groupId>
                                                
<artifactId>versions-maven-plugin</artifactId>
                                                <version>1.2</version>
                                                <reportSets>
                                                        <reportSet>
                                                                <reports>
                                                                        
<report>dependency-updates-report</report>
                                                                        
<report>plugin-updates-report</report>
                                                                </reports>
                                                        </reportSet>
                                                </reportSets>
                                                <configuration>
                                                        <properties>
                                                                
<rulesUri>${versions.maven.plugin.rulesUri}</rulesUri>
                                                        </properties>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </reporting>
                </profile>
                <profile>
                        <id>dependency-updates-report</id>
                        <reporting>
                                <plugins>
                                        <plugin>
                                                
<groupId>org.codehaus.mojo</groupId>
                                                
<artifactId>versions-maven-plugin</artifactId>
                                                <version>1.2</version>
                                                <reportSets>
                                                        <reportSet>
                                                                <reports>
                                                                        
<report>dependency-updates-report</report>
                                                                </reports>
                                                        </reportSet>
                                                </reportSets>
                                                <configuration>
                                                        <properties>
                                                                
<rulesUri>${versions.maven.plugin.rulesUri}</rulesUri>
                                                        </properties>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </reporting>
                </profile>
                <profile>
                        <id>plugin-updates-report</id>
                        <reporting>
                                <plugins>
                                        <plugin>
                                                
<groupId>org.codehaus.mojo</groupId>
                                                
<artifactId>versions-maven-plugin</artifactId>
                                                <version>1.2</version>
                                                <reportSets>
                                                        <reportSet>
                                                                <reports>
                                                                        
<report>plugin-updates-report</report>
                                                                </reports>
                                                        </reportSet>
                                                </reportSets>
                                                <configuration>
                                                        <properties>
                                                                
<rulesUri>${versions.maven.plugin.rulesUri}</rulesUri>
                                                        </properties>
                                                </configuration>
                                        </plugin>
                                </plugins>
                        </reporting>
                </profile>

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to