You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/03/05 12:38:39 UTC

svn commit: r1078275 - in /james: mailbox-integration-tester/trunk/src/reporting-site/ mailbox/trunk/ mailbox/trunk/api/src/reporting-site/ mailbox/trunk/jcr/src/reporting-site/ mailbox/trunk/jpa/src/reporting-site/ mailbox/trunk/maildir/src/reporting-...

Author: felixk
Date: Sat Mar  5 11:38:38 2011
New Revision: 1078275

URL: http://svn.apache.org/viewvc?rev=1078275&view=rev
Log:
- Fix plugin declarations
- Force maven 3 build
- Add generation of site and technical reports switch by profile site-reports
- Change Jenkins CI configuration to use m3 (JFI, but not in commit included)

See JAMES-1041

Added:
    james/mailbox-integration-tester/trunk/src/reporting-site/
    james/mailbox-integration-tester/trunk/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/api/src/reporting-site/
    james/mailbox/trunk/api/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/jcr/src/reporting-site/
    james/mailbox/trunk/jcr/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/jpa/src/reporting-site/
    james/mailbox/trunk/jpa/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/maildir/src/reporting-site/
    james/mailbox/trunk/maildir/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/memory/src/reporting-site/
    james/mailbox/trunk/memory/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/src/reporting-site/
    james/mailbox/trunk/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/store/src/reporting-site/
    james/mailbox/trunk/store/src/reporting-site/site.xml   (with props)
    james/mailbox/trunk/tool/src/reporting-site/
    james/mailbox/trunk/tool/src/reporting-site/site.xml   (with props)
Modified:
    james/mailbox/trunk/pom.xml

Added: james/mailbox-integration-tester/trunk/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox-integration-tester/trunk/src/reporting-site/site.xml (added)
+++ james/mailbox-integration-tester/trunk/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox-integration-tester/trunk/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox-integration-tester/trunk/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/api/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/api/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/api/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/api/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/api/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/jcr/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jcr/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/jcr/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/jcr/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/jcr/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/jcr/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/jpa/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/jpa/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/jpa/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/jpa/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/jpa/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/maildir/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/maildir/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/maildir/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/maildir/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/maildir/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/memory/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/memory/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/memory/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/memory/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/memory/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/memory/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: james/mailbox/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/pom.xml?rev=1078275&r1=1078274&r2=1078275&view=diff
==============================================================================
--- james/mailbox/trunk/pom.xml (original)
+++ james/mailbox/trunk/pom.xml Sat Mar  5 11:38:38 2011
@@ -34,6 +34,10 @@
   <inceptionYear>2010</inceptionYear>
   <packaging>pom</packaging>
 
+  <prerequisites>
+    <maven>3.0.2</maven>
+  </prerequisites>
+
   <modules>
     <module>api</module>
     <module>store</module>
@@ -79,8 +83,84 @@
   </repositories>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.3.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.3.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-project-info-reports-plugin</artifactId>
+          <version>2.3.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>2.3.4</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jxr-plugin</artifactId>
+          <version>2.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.7.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-report-plugin</artifactId>
+          <version>2.7.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <version>2.5</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.0-beta-3</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-changes-plugin</artifactId>
+          <version>2.4</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>rat-maven-plugin</artifactId>
+          <version>1.0-alpha-3</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>findbugs-maven-plugin</artifactId>
+          <version>2.3.1</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+
     <plugins>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
           <optimize>true</optimize>
@@ -110,6 +190,7 @@
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptorRefs>
@@ -119,6 +200,20 @@
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.7.2</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.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <executions>
@@ -138,93 +233,171 @@
           </instructions>
         </configuration>
       </plugin>
-    </plugins>
-  </build>
-
-  <reporting>
-    <plugins>
-      <plugin>
-        <artifactId>maven-jxr-plugin</artifactId>
-        <configuration>
-          <aggregate>true</aggregate>
-        </configuration>
-      </plugin>
+      <!-- Site generation -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <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.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <version>1.0-alpha-3</version>
-        <configuration>
-          <excludes>
-            <exclude>NOTICE.*</exclude>
-            <exclude>LICENSE.*</exclude>
-            <!-- Generated by Maven -->
-            <exclude>release.properties</exclude>
-            <exclude>dist/**/*</exclude>
-            <!-- Eclipse -->
-            <exclude>**/.*</exclude>
-            <exclude>.*/**/*</exclude>
-            <!-- Ignore logs -->
-            <exclude>**/derby.log</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-pmd-plugin</artifactId>
-        <configuration>
-          <aggregate>true</aggregate>
-          <targetJdk>${target.jdk}</targetJdk>
-          <rulesets>
-            <ruleset>/rulesets/basic.xml</ruleset>
-            <ruleset>/rulesets/imports.xml</ruleset>
-            <ruleset>/rulesets/controversial.xml</ruleset>
-            <ruleset>/rulesets/unusedcode.xml</ruleset>
-          </rulesets>
-          <format>xml</format>
-          <linkXref>true</linkXref>
-          <sourceEncoding>utf-8</sourceEncoding>
-          <minimumTokens>100</minimumTokens>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <configuration>
-          <aggregate>true</aggregate>
-        </configuration>
-      </plugin>
-      <plugin>
         <artifactId>maven-site-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-changes-plugin</artifactId>
         <configuration>
-          <onlyCurrentVersion>true</onlyCurrentVersion>
-          <resolutionIds>Closed</resolutionIds>
-          <maxEntries>1000</maxEntries>
+          <siteDirectory>${imap.siteDirectory}</siteDirectory>
+          <generateReports>${imap.generateReports}</generateReports>
+          <reportPlugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <configuration>
+                <aggregate>true</aggregate>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-project-info-reports-plugin</artifactId>
+              <reportSets>
+                <reportSet>
+                  <reports>
+                    <report>dependencies</report>
+                    <report>dependency-management</report>
+                    <report>dependency-convergence</report>
+                    <report>distribution-management</report>
+                    <report>index</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>
+                </reportSet>
+              </reportSets>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-surefire-report-plugin</artifactId>
+              <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.codehaus.mojo</groupId>
+              <artifactId>rat-maven-plugin</artifactId>
+              <version>1.0-alpha-3</version>
+              <configuration>
+                <excludes>
+                  <exclude>NOTICE.*</exclude>
+                  <exclude>LICENSE.*</exclude>
+                  <!-- Generated by Maven -->
+                  <exclude>release.properties</exclude>
+                  <exclude>dist/**/*</exclude>
+                  <!-- Eclipse -->
+                  <exclude>**/.*</exclude>
+                  <exclude>.*/**/*</exclude>
+      
+                </excludes>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-pmd-plugin</artifactId>
+              <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-surefire-report-plugin</artifactId>
+              <configuration>
+                <aggregate>true</aggregate>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <configuration>
+                <minmemory>256m</minmemory>
+                <maxmemory>1g</maxmemory>
+                <linksource>true</linksource>
+                <tags>
+                  <tag>
+                    <name>note</name>
+                    <placement>a</placement>
+                    <head>NOTE</head>
+                  </tag>
+                  <tag>
+                    <name>todo</name>
+                    <placement>a</placement>
+                    <head>TODO</head>
+                  </tag>
+                  <tag>
+                    <name>warning</name>
+                    <placement>a</placement>
+                    <head>WARNING</head>
+                  </tag>
+                </tags>
+                <source>1.5</source>
+              </configuration>
+              <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>
+              <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.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>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>jira-report</report>
-            </reports>
-          </reportSet>
-        </reportSets>
       </plugin>
     </plugins>
-  </reporting>
+  </build>
 
   <distributionManagement>
     <site>
@@ -573,6 +746,13 @@
         <version.activation>1.0.2</version.activation>
       </properties>
     </profile>
+    <profile>
+      <id>site-reports</id>
+      <properties>
+        <imap.siteDirectory>${basedir}/src/reporting-site</imap.siteDirectory>
+        <imap.generateReports>true</imap.generateReports>
+      </properties>
+    </profile>
   </profiles>
 
   <properties>
@@ -591,6 +771,8 @@
     <version.jmock>2.5.1</version.jmock>
     <version.jackrabbit>2.2.0</version.jackrabbit>
     <target.jdk>1.5</target.jdk>
+    <imap.siteDirectory>${basedir}/src/site</imap.siteDirectory>
+    <imap.generateReports>false</imap.generateReports>
   </properties>
 </project>
 

Added: james/mailbox/trunk/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <skin>
+        <groupId>org.apache.james</groupId>
+        <artifactId>maven-skin</artifactId>
+        <version>1.6-SNAPSHOT</version>
+    </skin>
+
+    <bannerLeft>
+        <name>James Project</name>
+        <src>http://james.apache.org/images/logos/james-imap-logo.gif</src>
+        <href>http://james.apache.org/index.html</href>
+    </bannerLeft>
+
+    <bannerRight>
+        <name>The Apache Software Foundation</name>
+        <src>http://james.apache.org/images/logos/asf-logo-reduced.gif</src>
+        <href>http://www.apache.org/index.html</href>
+    </bannerRight>
+
+    <body>
+
+        <menu ref="modules" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/store/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/store/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/store/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/store/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/store/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: james/mailbox/trunk/tool/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/tool/src/reporting-site/site.xml?rev=1078275&view=auto
==============================================================================
--- james/mailbox/trunk/tool/src/reporting-site/site.xml (added)
+++ james/mailbox/trunk/tool/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.    
+-->
+<project name="${project.name}">
+
+    <body>
+
+        <menu ref="parent" />
+        <menu ref="reports" />
+
+    </body>
+
+</project>

Propchange: james/mailbox/trunk/tool/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mailbox/trunk/tool/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: svn commit: r1078275 - in /james: mailbox-integration-tester/trunk/src/reporting-site/ mailbox/trunk/ mailbox/trunk/api/src/reporting-site/ mailbox/trunk/jcr/src/reporting-site/ mailbox/trunk/jpa/src/reporting-site/ mailbox/trunk/maildir/src/reporting-...

Posted by Felix Knecht <fe...@apache.org>.
I change Jenkins CI configuration for mailbox and 
mailbox-integration-tester to
- run using maven 3 (latest)
- added site -Psite-reports to goals option and cleaned up goals in such 
a way that only the last in the lifecycle [1] is left.


Regards
Felix

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

On 03/05/2011 12:38 PM, felixk@apache.org wrote:
> Author: felixk
> Date: Sat Mar  5 11:38:38 2011
> New Revision: 1078275
>
> URL: http://svn.apache.org/viewvc?rev=1078275&view=rev
> Log:
> - Fix plugin declarations
> - Force maven 3 build
> - Add generation of site and technical reports switch by profile site-reports
> - Change Jenkins CI configuration to use m3 (JFI, but not in commit included)
>
> See JAMES-1041
>
> Added:
>      james/mailbox-integration-tester/trunk/src/reporting-site/
>      james/mailbox-integration-tester/trunk/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/api/src/reporting-site/
>      james/mailbox/trunk/api/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/jcr/src/reporting-site/
>      james/mailbox/trunk/jcr/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/jpa/src/reporting-site/
>      james/mailbox/trunk/jpa/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/maildir/src/reporting-site/
>      james/mailbox/trunk/maildir/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/memory/src/reporting-site/
>      james/mailbox/trunk/memory/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/src/reporting-site/
>      james/mailbox/trunk/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/store/src/reporting-site/
>      james/mailbox/trunk/store/src/reporting-site/site.xml   (with props)
>      james/mailbox/trunk/tool/src/reporting-site/
>      james/mailbox/trunk/tool/src/reporting-site/site.xml   (with props)
> Modified:
>      james/mailbox/trunk/pom.xml
>
> Added: james/mailbox-integration-tester/trunk/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox-integration-tester/trunk/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox-integration-tester/trunk/src/reporting-site/site.xml (added)
> +++ james/mailbox-integration-tester/trunk/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,28 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox-integration-tester/trunk/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox-integration-tester/trunk/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/api/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/api/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/api/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/api/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/api/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/jcr/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jcr/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/jcr/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/jcr/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/jcr/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/jcr/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/jpa/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/jpa/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/jpa/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/jpa/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/jpa/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/maildir/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/maildir/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/maildir/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/maildir/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/maildir/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/memory/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/memory/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/memory/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/memory/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/memory/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/memory/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Modified: james/mailbox/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/pom.xml?rev=1078275&r1=1078274&r2=1078275&view=diff
> ==============================================================================
> --- james/mailbox/trunk/pom.xml (original)
> +++ james/mailbox/trunk/pom.xml Sat Mar  5 11:38:38 2011
> @@ -34,6 +34,10 @@
>     <inceptionYear>2010</inceptionYear>
>     <packaging>pom</packaging>
>
> +<prerequisites>
> +<maven>3.0.2</maven>
> +</prerequisites>
> +
>     <modules>
>       <module>api</module>
>       <module>store</module>
> @@ -79,8 +83,84 @@
>     </repositories>
>
>     <build>
> +<pluginManagement>
> +<plugins>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-compiler-plugin</artifactId>
> +<version>2.3.2</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-jar-plugin</artifactId>
> +<version>2.3.1</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-project-info-reports-plugin</artifactId>
> +<version>2.3.1</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-assembly-plugin</artifactId>
> +<version>2.2</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.felix</groupId>
> +<artifactId>maven-bundle-plugin</artifactId>
> +<version>2.3.4</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-jxr-plugin</artifactId>
> +<version>2.2</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-surefire-plugin</artifactId>
> +<version>2.7.2</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-surefire-report-plugin</artifactId>
> +<version>2.7.2</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-pmd-plugin</artifactId>
> +<version>2.5</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-javadoc-plugin</artifactId>
> +<version>2.7</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-site-plugin</artifactId>
> +<version>3.0-beta-3</version>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-changes-plugin</artifactId>
> +<version>2.4</version>
> +</plugin>
> +<plugin>
> +<groupId>org.codehaus.mojo</groupId>
> +<artifactId>rat-maven-plugin</artifactId>
> +<version>1.0-alpha-3</version>
> +</plugin>
> +<plugin>
> +<groupId>org.codehaus.mojo</groupId>
> +<artifactId>findbugs-maven-plugin</artifactId>
> +<version>2.3.1</version>
> +</plugin>
> +</plugins>
> +</pluginManagement>
> +
>       <plugins>
>         <plugin>
> +<groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-compiler-plugin</artifactId>
>           <configuration>
>             <optimize>true</optimize>
> @@ -110,6 +190,7 @@
>           </configuration>
>         </plugin>
>         <plugin>
> +<groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-assembly-plugin</artifactId>
>           <configuration>
>             <descriptorRefs>
> @@ -119,6 +200,20 @@
>           </configuration>
>         </plugin>
>         <plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-surefire-plugin</artifactId>
> +<version>2.7.2</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.felix</groupId>
>           <artifactId>maven-bundle-plugin</artifactId>
>           <executions>
> @@ -138,93 +233,171 @@
>             </instructions>
>           </configuration>
>         </plugin>
> -</plugins>
> -</build>
> -
> -<reporting>
> -<plugins>
> -<plugin>
> -<artifactId>maven-jxr-plugin</artifactId>
> -<configuration>
> -<aggregate>true</aggregate>
> -</configuration>
> -</plugin>
> +<!-- Site generation -->
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
> -<artifactId>maven-surefire-plugin</artifactId>
> -<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.codehaus.mojo</groupId>
> -<artifactId>rat-maven-plugin</artifactId>
> -<version>1.0-alpha-3</version>
> -<configuration>
> -<excludes>
> -<exclude>NOTICE.*</exclude>
> -<exclude>LICENSE.*</exclude>
> -<!-- Generated by Maven -->
> -<exclude>release.properties</exclude>
> -<exclude>dist/**/*</exclude>
> -<!-- Eclipse -->
> -<exclude>**/.*</exclude>
> -<exclude>.*/**/*</exclude>
> -<!-- Ignore logs -->
> -<exclude>**/derby.log</exclude>
> -</excludes>
> -</configuration>
> -</plugin>
> -<plugin>
> -<artifactId>maven-pmd-plugin</artifactId>
> -<configuration>
> -<aggregate>true</aggregate>
> -<targetJdk>${target.jdk}</targetJdk>
> -<rulesets>
> -<ruleset>/rulesets/basic.xml</ruleset>
> -<ruleset>/rulesets/imports.xml</ruleset>
> -<ruleset>/rulesets/controversial.xml</ruleset>
> -<ruleset>/rulesets/unusedcode.xml</ruleset>
> -</rulesets>
> -<format>xml</format>
> -<linkXref>true</linkXref>
> -<sourceEncoding>utf-8</sourceEncoding>
> -<minimumTokens>100</minimumTokens>
> -</configuration>
> -</plugin>
> -<plugin>
> -<artifactId>maven-javadoc-plugin</artifactId>
> -<configuration>
> -<aggregate>true</aggregate>
> -</configuration>
> -</plugin>
> -<plugin>
>           <artifactId>maven-site-plugin</artifactId>
> -</plugin>
> -<plugin>
> -<groupId>org.apache.maven.plugins</groupId>
> -<artifactId>maven-changes-plugin</artifactId>
>           <configuration>
> -<onlyCurrentVersion>true</onlyCurrentVersion>
> -<resolutionIds>Closed</resolutionIds>
> -<maxEntries>1000</maxEntries>
> +<siteDirectory>${imap.siteDirectory}</siteDirectory>
> +<generateReports>${imap.generateReports}</generateReports>
> +<reportPlugins>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-jxr-plugin</artifactId>
> +<configuration>
> +<aggregate>true</aggregate>
> +</configuration>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-project-info-reports-plugin</artifactId>
> +<reportSets>
> +<reportSet>
> +<reports>
> +<report>dependencies</report>
> +<report>dependency-management</report>
> +<report>dependency-convergence</report>
> +<report>distribution-management</report>
> +<report>index</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>
> +</reportSet>
> +</reportSets>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-surefire-report-plugin</artifactId>
> +<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.codehaus.mojo</groupId>
> +<artifactId>rat-maven-plugin</artifactId>
> +<version>1.0-alpha-3</version>
> +<configuration>
> +<excludes>
> +<exclude>NOTICE.*</exclude>
> +<exclude>LICENSE.*</exclude>
> +<!-- Generated by Maven -->
> +<exclude>release.properties</exclude>
> +<exclude>dist/**/*</exclude>
> +<!-- Eclipse -->
> +<exclude>**/.*</exclude>
> +<exclude>.*/**/*</exclude>
> +
> +</excludes>
> +</configuration>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-pmd-plugin</artifactId>
> +<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-surefire-report-plugin</artifactId>
> +<configuration>
> +<aggregate>true</aggregate>
> +</configuration>
> +</plugin>
> +<plugin>
> +<groupId>org.apache.maven.plugins</groupId>
> +<artifactId>maven-javadoc-plugin</artifactId>
> +<configuration>
> +<minmemory>256m</minmemory>
> +<maxmemory>1g</maxmemory>
> +<linksource>true</linksource>
> +<tags>
> +<tag>
> +<name>note</name>
> +<placement>a</placement>
> +<head>NOTE</head>
> +</tag>
> +<tag>
> +<name>todo</name>
> +<placement>a</placement>
> +<head>TODO</head>
> +</tag>
> +<tag>
> +<name>warning</name>
> +<placement>a</placement>
> +<head>WARNING</head>
> +</tag>
> +</tags>
> +<source>1.5</source>
> +</configuration>
> +<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>
> +<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.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>
> -<reportSets>
> -<reportSet>
> -<reports>
> -<report>jira-report</report>
> -</reports>
> -</reportSet>
> -</reportSets>
>         </plugin>
>       </plugins>
> -</reporting>
> +</build>
>
>     <distributionManagement>
>       <site>
> @@ -573,6 +746,13 @@
>           <version.activation>1.0.2</version.activation>
>         </properties>
>       </profile>
> +<profile>
> +<id>site-reports</id>
> +<properties>
> +<imap.siteDirectory>${basedir}/src/reporting-site</imap.siteDirectory>
> +<imap.generateReports>true</imap.generateReports>
> +</properties>
> +</profile>
>     </profiles>
>
>     <properties>
> @@ -591,6 +771,8 @@
>       <version.jmock>2.5.1</version.jmock>
>       <version.jackrabbit>2.2.0</version.jackrabbit>
>       <target.jdk>1.5</target.jdk>
> +<imap.siteDirectory>${basedir}/src/site</imap.siteDirectory>
> +<imap.generateReports>false</imap.generateReports>
>     </properties>
>   </project>
>
>
> Added: james/mailbox/trunk/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,47 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<skin>
> +<groupId>org.apache.james</groupId>
> +<artifactId>maven-skin</artifactId>
> +<version>1.6-SNAPSHOT</version>
> +</skin>
> +
> +<bannerLeft>
> +<name>James Project</name>
> +<src>http://james.apache.org/images/logos/james-imap-logo.gif</src>
> +<href>http://james.apache.org/index.html</href>
> +</bannerLeft>
> +
> +<bannerRight>
> +<name>The Apache Software Foundation</name>
> +<src>http://james.apache.org/images/logos/asf-logo-reduced.gif</src>
> +<href>http://www.apache.org/index.html</href>
> +</bannerRight>
> +
> +<body>
> +
> +<menu ref="modules" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/store/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/store/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/store/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/store/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/store/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
> Added: james/mailbox/trunk/tool/src/reporting-site/site.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/tool/src/reporting-site/site.xml?rev=1078275&view=auto
> ==============================================================================
> --- james/mailbox/trunk/tool/src/reporting-site/site.xml (added)
> +++ james/mailbox/trunk/tool/src/reporting-site/site.xml Sat Mar  5 11:38:38 2011
> @@ -0,0 +1,29 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> +    Licensed to the Apache Software Foundation (ASF) under one
> +    or more contributor license agreements.  See the NOTICE file
> +    distributed with this work for additional information
> +    regarding copyright ownership.  The ASF licenses this file
> +    to you under the Apache License, Version 2.0 (the
> +    "License"); you may not use this file except in compliance
> +    with the License.  You may obtain a copy of the License at
> +
> +    http://www.apache.org/licenses/LICENSE-2.0
> +
> +    Unless required by applicable law or agreed to in writing,
> +    software distributed under the License is distributed on an
> +    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +    KIND, either express or implied.  See the License for the
> +    specific language governing permissions and limitations
> +    under the License.
> +-->
> +<project name="${project.name}">
> +
> +<body>
> +
> +<menu ref="parent" />
> +<menu ref="reports" />
> +
> +</body>
> +
> +</project>
>
> Propchange: james/mailbox/trunk/tool/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:eol-style = native
>
> Propchange: james/mailbox/trunk/tool/src/reporting-site/site.xml
> ------------------------------------------------------------------------------
>      svn:keywords = Author Date Id Revision
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org