Author: felixk
Date: Tue Oct 18 11:25:34 2011
New Revision: 1185585

URL: http://svn.apache.org/viewvc?rev=1185585&view=rev
Log:
Update pluginManagement section (JAMES-1337)

Modified:
    james/project/trunk/pom.xml

Modified: james/project/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/pom.xml?rev=1185585&r1=1185584&r2=1185585&view=diff
==============================================================================
--- james/project/trunk/pom.xml (original)
+++ james/project/trunk/pom.xml Tue Oct 18 11:25:34 2011
@@ -30,6 +30,7 @@
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
         <version>9</version>
+        <relativePath></relativePath>
     </parent>
 
     <groupId>org.apache.james</groupId>
@@ -355,39 +356,52 @@
         </extensions>
         <pluginManagement>
             <plugins>
+                <!-- Order by groupId / artifactId / scope -->
+                <plugin>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>maven-bundle-plugin</artifactId>
+                    <version>2.3.5</version>
+                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-site-plugin</artifactId>
-                    <version>3.0</version>
+                    <artifactId>maven-assembly-plugin</artifactId>
+                    <version>2.2.1</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-project-info-reports-plugin</artifactId>
-                    <version>2.3.1</version>
+                    <artifactId>maven-changes-plugin</artifactId>
+                    <version>2.6</version>
+                    <configuration>
+                        <onlyCurrentVersion>true</onlyCurrentVersion>
+                        <resolutionIds>Fixed</resolutionIds>
+                        <statusIds>Resolved,Closed</statusIds>
+                        <columnNames>Type,Key,Summary,Status,Resolution,Fix 
Version</columnNames>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>2.3.2</version>
+                    <configuration>
+                        <optimize>true</optimize>
+                        <source>${target.jdk}</source>
+                        <target>${target.jdk}</target>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <version>2.3.2</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-javadoc-plugin</artifactId>
-                    <version>2.7</version>
+                    <version>2.8</version>
                     <configuration>
-                        <doclet>org.jboss.apiviz.APIviz</doclet>
-                        <docletArtifact>
-                            <groupId>org.jboss.apiviz</groupId>
-                            <artifactId>apiviz</artifactId>
-                            <version>1.3.1.GA</version>
-                        </docletArtifact>
-                        
<useStandardDocletOptions>true</useStandardDocletOptions>
-                        <charset>UTF-8</charset>
-                        <encoding>UTF-8</encoding>
-                        <docencoding>UTF-8</docencoding>
-                        <breakiterator>true</breakiterator>
-                        <version>true</version>
-                        <author>true</author>
-                        <keywords>true</keywords>
-                        <additionalparam>-sourceclasspath 
${project.build.outputDirectory}</additionalparam>
-                        <minmemory>256m</minmemory>
-                        <maxmemory>1g</maxmemory>
                         <linksource>true</linksource>
+                        <maxmemory>1g</maxmemory>
+                        <minmemory>256m</minmemory>
+                        <source>${target.jdk}</source>
                         <tags>
                             <tag>
                                 <name>note</name>
@@ -405,9 +419,236 @@
                                 <head>WARNING</head>
                             </tag>
                         </tags>
-                        <source>${target.jdk}</source>
+                        <!-- apiviz stuff, comment ATM as it doesn't works on 
poms packaging pom -->
+                        <!--
+                        <doclet>org.jboss.apiviz.APIviz</doclet>
+                        <docletArtifact>
+                            <groupId>org.jboss.apiviz</groupId>
+                            <artifactId>apiviz</artifactId>
+                            <version>1.3.1.GA</version>
+                        </docletArtifact>
+                        
<useStandardDocletOptions>true</useStandardDocletOptions>
+                        <charset>UTF-8</charset>
+                        <encoding>UTF-8</encoding>
+                        <docencoding>UTF-8</docencoding>
+                        <breakiterator>true</breakiterator>
+                        <version>true</version>
+                        <author>true</author>
+                        <keywords>true</keywords>
+                        <additionalparam>-sourceclasspath 
${project.build.outputDirectory}</additionalparam>
+                        -->
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jxr-plugin</artifactId>
+                    <version>2.3</version>
+                    <configuration>
+                        <aggregate>true</aggregate>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-pmd-plugin</artifactId>
+                    <version>2.5</version>
+                    <configuration>
+                        <aggregate>true</aggregate>
+                        <targetJdk>${target.jdk}</targetJdk>
+                        <rulesets>
+                            <ruleset>/rulesets/basic.xml</ruleset>
+                            <ruleset>/rulesets/unusedcode.xml</ruleset>
+                            <ruleset>/rulesets/imports.xml</ruleset>
+                        </rulesets>
+                        <format>xml</format>
+                        <linkXref>true</linkXref>
+                        <sourceEncoding>utf-8</sourceEncoding>
+                        <minimumTokens>100</minimumTokens>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-project-info-reports-plugin</artifactId>
+                    <version>2.4</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-site-plugin</artifactId>
+                    <version>3.0</version>
+                    <executions>
+                        <execution>
+                            <id>attach-descriptor</id>
+                            <goals>
+                                <goal>attach-descriptor</goal>
+                            </goals>
+                            <configuration>
+                                
<siteDirectory>${basedir}/src/site</siteDirectory>
+                                <generateReports>false</generateReports>
+                            </configuration>
+                        </execution>
+                    </executions>
+                    <configuration>
+                        
<siteDirectory>${maven-site-plugin.siteDirectory}</siteDirectory>
+                        
<generateReports>${maven-site-plugin.generateReports}</generateReports>
+                        <reportPlugins>
+                            <!-- Order matters. First project-info-reports, 
second jxr. -->
+                            <plugin>
+                                <groupId>org.apache.maven.plugins</groupId>
+                                
<artifactId>maven-project-info-reports-plugin</artifactId>
+                                <reports>
+                                    <report>dependencies</report>
+                                    <report>dependency-management</report>
+                                    <report>dependency-convergence</report>
+                                    <report>distribution-management</report>
+                                    <report>index</report>
+                                    <report>issue-tracking</report>
+                                    <report>license</report>
+                                    <report>mailing-list</report>
+                                    <report>modules</report>
+                                    <report>plugin-management</report>
+                                    <report>plugins</report>
+                                    <report>project-team</report>
+                                    <report>scm</report>
+                                    <report>summary</report>
+                                </reports>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.apache.maven.plugins</groupId>
+                                <artifactId>maven-jxr-plugin</artifactId>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.apache.maven.plugins</groupId>
+                                
<artifactId>maven-surefire-report-plugin</artifactId>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.apache.rat</groupId>
+                                <artifactId>apache-rat-plugin</artifactId>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.apache.maven.plugins</groupId>
+                                <artifactId>maven-pmd-plugin</artifactId>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.apache.maven.plugins</groupId>
+                                <artifactId>maven-javadoc-plugin</artifactId>
+                                <reportSets>
+                                    <reportSet>
+                                        <reports>
+                                            <report>aggregate</report>
+                                            <report>test-aggregate</report>
+                                        </reports>
+                                    </reportSet>
+                                </reportSets>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.codehaus.mojo</groupId>
+                                <artifactId>findbugs-maven-plugin</artifactId>
+                            </plugin>
+                            <plugin>
+                                <groupId>org.codehaus.mojo</groupId>
+                                <artifactId>versions-maven-plugin</artifactId>
+                                <reportSets>
+                                    <reportSet>
+                                        <reports>
+                                            
<report>dependency-updates-report</report>
+                                            
<report>plugin-updates-report</report>
+                                            
<report>property-updates-report</report>
+                                        </reports>
+                                    </reportSet>
+                                </reportSets>
+                            </plugin>
+                            <!--
+                            <plugin>
+                              <groupId>org.apache.maven.plugins</groupId>
+                              <artifactId>maven-changes-plugin</artifactId>
+                              <configuration>
+                                <onlyCurrentVersion>true</onlyCurrentVersion>
+                                <resolutionIds>Fixed</resolutionIds>
+                                <statusIds>Resolved,Closed</statusIds>
+                                
<columnNames>Type,Key,Summary,Status,Resolution,Fix Version</columnNames>
+                              </configuration>
+                              <reportSets>
+                                <reportSet>
+                                  <reports>
+                                    <report>jira-report</report>
+                                  </reports>
+                                </reportSet>
+                              </reportSets>
+                            </plugin>
+                            -->
+                        </reportPlugins>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>2.10</version>
+                    <configuration>
+                        <aggregate>true</aggregate>
+                        <forkMode>pertest</forkMode>
+                        <argLine>-Xms256m -Xmx512m</argLine>
+                        <testFailureIgnore>false</testFailureIgnore>
+                        <skip>false</skip>
+                        <includes>
+                            <include>**/*Test.java</include>
+                        </includes>
                     </configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-report-plugin</artifactId>
+                    <version>2.10</version>
+                    <configuration>
+                        <forkMode>pertest</forkMode>
+                        <argLine>-Xms256m -Xmx512m</argLine>
+                        <testFailureIgnore>false</testFailureIgnore>
+                        <skip>false</skip>
+                        <includes>
+                            <include>**/*Test.java</include>
+                        </includes>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.7</version>
+                    <configuration>
+                        <excludes>
+                            <exclude>NOTICE.*</exclude>
+                            <exclude>LICENSE.*</exclude>
+                            <exclude>BUILDING.*</exclude>
+                            <!-- Generated by Maven -->
+                            <exclude>release.properties</exclude>
+                            <exclude>dist/**/*</exclude>
+                            <exclude>**/derby.log</exclude>
+                            <!-- Eclipse -->
+                            <exclude>**/.*</exclude>
+                            <exclude>.*/**/*</exclude>
+                            <!-- Schemas for offline use -->
+                            
<exclude>**/META-INF/XSD/activemq-core-*.xsd</exclude>
+                            
<exclude>**/META-INF/XSD/camel-spring-*.xsd</exclude>
+                            
<exclude>**/META-INF/XSD/spring-beans-*.xsd</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>findbugs-maven-plugin</artifactId>
+                    <version>2.3.2</version>
+                    <configuration>
+                        
<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
+                        
<xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation>
+                        <!-- required by dashboard plugin and hudson -->
+                        <xmlOutput>true</xmlOutput>
+                        <effort>Max</effort>
+                        <findbugsXmlOutput>true</findbugsXmlOutput>
+                        <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>versions-maven-plugin</artifactId>
+                    <version>1.2</version>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to