james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r1081981 - in /james/mime4j/trunk: ./ assemble/src/reporting-site/ benchmark/src/reporting-site/ core/src/reporting-site/ dom/src/reporting-site/ examples/src/reporting-site/ src/reporting-site/ src/site/ storage/src/reporting-site/
Date Tue, 15 Mar 2011 23:01:00 GMT
Author: felixk
Date: Tue Mar 15 23:00:59 2011
New Revision: 1081981

URL: http://svn.apache.org/viewvc?rev=1081981&view=rev
Log:
Switch to and force maven 3. Add generation of technical reports using the -Psite-reports
profile

Added:
    james/mime4j/trunk/assemble/src/reporting-site/
    james/mime4j/trunk/assemble/src/reporting-site/site.xml   (with props)
    james/mime4j/trunk/benchmark/src/reporting-site/
    james/mime4j/trunk/benchmark/src/reporting-site/site.xml   (with props)
    james/mime4j/trunk/core/src/reporting-site/
    james/mime4j/trunk/core/src/reporting-site/site.xml   (with props)
    james/mime4j/trunk/dom/src/reporting-site/
    james/mime4j/trunk/dom/src/reporting-site/site.xml   (with props)
    james/mime4j/trunk/examples/src/reporting-site/
    james/mime4j/trunk/examples/src/reporting-site/site.xml   (with props)
    james/mime4j/trunk/src/reporting-site/
    james/mime4j/trunk/src/reporting-site/site.xml   (with props)
    james/mime4j/trunk/storage/src/reporting-site/
    james/mime4j/trunk/storage/src/reporting-site/site.xml   (with props)
Modified:
    james/mime4j/trunk/pom.xml
    james/mime4j/trunk/src/site/site.xml

Added: james/mime4j/trunk/assemble/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/assemble/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/assemble/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/assemble/src/reporting-site/site.xml Tue Mar 15 23:00:59 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/mime4j/trunk/assemble/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: james/mime4j/trunk/benchmark/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/benchmark/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/benchmark/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/benchmark/src/reporting-site/site.xml Tue Mar 15 23:00:59 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/mime4j/trunk/benchmark/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: james/mime4j/trunk/core/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/core/src/reporting-site/site.xml Tue Mar 15 23:00:59 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/mime4j/trunk/core/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: james/mime4j/trunk/dom/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/dom/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/dom/src/reporting-site/site.xml Tue Mar 15 23:00:59 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/mime4j/trunk/dom/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: james/mime4j/trunk/examples/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/examples/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/examples/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/examples/src/reporting-site/site.xml Tue Mar 15 23:00:59 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/mime4j/trunk/examples/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: james/mime4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/pom.xml?rev=1081981&r1=1081980&r2=1081981&view=diff
==============================================================================
--- james/mime4j/trunk/pom.xml (original)
+++ james/mime4j/trunk/pom.xml Tue Mar 15 23:00:59 2011
@@ -1,27 +1,27 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <!--
-    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.
-  -->
   <parent>
     <artifactId>james-project</artifactId>
     <groupId>org.apache.james</groupId>
-    <version>1.5</version>
+    <version>1.6-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.james</groupId>
@@ -37,6 +37,10 @@
   <inceptionYear>2004</inceptionYear>
   <packaging>pom</packaging>
 
+  <prerequisites>
+    <maven>3.0.2</maven>
+  </prerequisites>
+
   <modules>
     <module>core</module>
     <module>dom</module>
@@ -52,6 +56,7 @@
       <url>scp://people.apache.org/www/james.apache.org/mime4j/</url>
     </site>
   </distributionManagement>
+
   <scm>
     <connection>scm:svn:http://svn.apache.org/repos/asf/james/mime4j/trunk</connection>
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mime4j/trunk</developerConnection>
@@ -62,29 +67,102 @@
     <pluginManagement>
       <plugins>
          <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-clean-plugin</artifactId>
-           <version>2.4</version>
+           <version>2.4.1</version>
          </plugin>
          <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-resources-plugin</artifactId>
-           <version>2.4.1</version>
+           <version>2.5</version>
          </plugin>
          <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-site-plugin</artifactId>
-           <version>2.1</version>
+           <version>3.0-beta-3</version>
          </plugin>
          <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surfire-plugin</artifactId>
-           <version>2.5</version>
+           <version>2.7.2</version>
+         </plugin>
+         <plugin>
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-surfire-report-plugin</artifactId>
+           <version>2.7.2</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.rat</groupId>
+           <artifactId>apache-rat-plugin</artifactId>
+           <version>0.7</version>
+         </plugin>
+        <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-javadoc-plugin</artifactId>
+          <version>2.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-remote-resources-plugin</artifactId>
+          <version>1.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-source-plugin</artifactId>
+          <version>2.1.2</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>2.2.0</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-doap-plugin</artifactId>
+          <version>1.1</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-report-plugin</artifactId>
+          <version>2.8</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <version>2.5</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.codehaus.mojo</groupId>
-        <artifactId>rat-maven-plugin</artifactId>
-        <version>1.0-alpha-3</version>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
         <inherited>false</inherited>
         <executions>
           <execution>
@@ -98,35 +176,34 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.1</version>
         <configuration>
-          <source>${compileSource}</source>
-          <target>${compileSource}</target>
+          <source>${target.jdk}</source>
+          <target>${target.jdk}</target>
           <encoding>iso8859-1</encoding>
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
-        <version>2.3</version>
         <configuration>
           <archive>
           <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
             <manifestEntries>
               <Specification-Title>Apache Mime4j</Specification-Title>
-              <Specification-Version>${pom.version}</Specification-Version>
+              <Specification-Version>${project.version}</Specification-Version>
               <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
               <Implementation-Title>Apache Mime4j</Implementation-Title>
-              <Implementation-Version>${pom.version}</Implementation-Version>
+              <Implementation-Version>${project.version}</Implementation-Version>
               <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
               <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
-              <url>${pom.url}</url>
+              <url>${project.url}</url>
             </manifestEntries>
           </archive>
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.6.1</version>
         <executions>
           <execution>
             <id>aggregate</id>
@@ -149,8 +226,8 @@
       </plugin>
       <!-- Add NOTICE and LICENSE to generated JAR -->
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-remote-resources-plugin</artifactId>
-        <version>1.1</version>
         <executions>
           <execution>
             <goals>
@@ -170,7 +247,6 @@
       <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
-         <version>2.1.1</version>
          <executions>
             <execution>
                <id>attach-sources</id>
@@ -184,7 +260,6 @@
       <plugin>
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>
-         <version>2.0.1</version>
          <executions>
             <execution>
                <id>bundle-manifest</id>
@@ -202,10 +277,10 @@
             </instructions>
          </configuration>
       </plugin>
+      <!--
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-doap-plugin</artifactId>
-        <version>1.0</version>
         <configuration>
          <doapOptions>
            <programmingLanguage>java</programmingLanguage>
@@ -226,6 +301,165 @@
           </execution>
         </executions>
       </plugin>
+      -->
+
+      <!-- Site generation -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <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>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>
+              <configuration>
+                <aggregate>true</aggregate>
+              </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.rat</groupId>
+              <artifactId>apache-rat-plugin</artifactId>
+              <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-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>
+      </plugin>
     </plugins>
   </build>
 
@@ -261,6 +495,7 @@
     </dependencies>
   </dependencyManagement>
 
+<!--
   <reporting>
     <plugins>
       <plugin>
@@ -270,7 +505,7 @@
         <inherited>false</inherited>
         <configuration>
           <excludes>
-            <!-- test resources created by JAMES committers / we can't include ALv2 headers
there -->
+            <!- test resources created by JAMES committers / we can't include ALv2 headers
there ->
             <exclude>core/src/test/resources/testmsgs/*</exclude>
             <exclude>core/benchmarks/resources/*.msg</exclude>
             <exclude>release.properties</exclude>
@@ -339,7 +574,7 @@
         <artifactId>maven-pmd-plugin</artifactId>
         <version>2.4</version>
         <configuration>
-          <targetJdk>${compileSource}</targetJdk>
+          <targetJdk>${target.jdk}</targetJdk>
           <rulesets>
             <ruleset>/rulesets/basic.xml</ruleset>
             <ruleset>/rulesets/controversial.xml</ruleset>
@@ -371,7 +606,7 @@
       </plugin>
     </plugins>
   </reporting>
-
+-->
 
   <mailingLists>
     <mailingList>
@@ -384,7 +619,7 @@
   </mailingLists>
 
   <properties>
-    <compileSource>1.5</compileSource>
+    <target.jdk>1.5</target.jdk>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 

Added: james/mime4j/trunk/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/src/reporting-site/site.xml Tue Mar 15 23:00:59 2011
@@ -0,0 +1,48 @@
+<?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 Mime4J</name>
+        <src>images/james-mime4j-logo.gif</src>
+        <href>http://james.apache.org/</href>
+        <alt>james-mime4j-logo.gif</alt>
+    </bannerLeft>
+
+    <bannerRight>
+        <name>The Apache Software Foundation</name>
+        <src>/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/mime4j/trunk/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: james/mime4j/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/site/site.xml?rev=1081981&r1=1081980&r2=1081981&view=diff
==============================================================================
--- james/mime4j/trunk/src/site/site.xml (original)
+++ james/mime4j/trunk/src/site/site.xml Tue Mar 15 23:00:59 2011
@@ -18,16 +18,25 @@
   under the License.    
 -->
 <project name="James mime4j">
-  <bannerLeft>
-    <name>JAMES Mime4J</name>
-    <src>images/james-mime4j-logo.gif</src>
-    <href>http://james.apache.org/</href>
-  </bannerLeft>
-  <bannerRight>
-    <name>The Apache Software Foundation</name>
-    <src>images/asf-logo-reduced.gif</src>
-    <href>http://www.apache.org/index.html</href>
-  </bannerRight> 
+    <skin>
+        <groupId>org.apache.james</groupId>
+        <artifactId>maven-skin</artifactId>
+        <version>1.6-SNAPSHOT</version>
+    </skin>
+
+    <bannerLeft>
+        <name>JAMES Mime4J</name>
+        <src>images/james-mime4j-logo.gif</src>
+        <href>http://james.apache.org/</href>
+        <alt>james-mime4j-logo.gif</alt>
+    </bannerLeft>
+
+    <bannerRight>
+        <name>The Apache Software Foundation</name>
+        <src>/images/logos/asf-logo-reduced.gif</src>
+        <href>http://www.apache.org/index.html</href>
+    </bannerRight>
+
   <body>
     <menu name="mime4j">
       <item name="Overview" href="/index.html"/>
@@ -40,7 +49,7 @@
       </item>
     </menu>
     
-    ${reports}
+    <menu ref="reports" />
     
     <menu name="Related Projects">
     	<item name="httpmime" href="http://hc.apache.org/httpcomponents-client/httpmime/index.html"
/>

Added: james/mime4j/trunk/storage/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/storage/src/reporting-site/site.xml?rev=1081981&view=auto
==============================================================================
--- james/mime4j/trunk/storage/src/reporting-site/site.xml (added)
+++ james/mime4j/trunk/storage/src/reporting-site/site.xml Tue Mar 15 23:00:59 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/mime4j/trunk/storage/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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



Mime
View raw message