Author: felixk
Date: Tue Aug  9 18:34:16 2011
New Revision: 1155456

URL: http://svn.apache.org/viewvc?rev=1155456&view=rev
Log:
Add/fix build of technical reports

Added:
    james/hupa/trunk/client/src/reporting-site/
    james/hupa/trunk/client/src/reporting-site/site.xml   (with props)
    james/hupa/trunk/server/src/reporting-site/
    james/hupa/trunk/server/src/reporting-site/site.xml   (with props)
    james/hupa/trunk/shared/src/reporting-site/
    james/hupa/trunk/shared/src/reporting-site/site.xml   (with props)
    james/hupa/trunk/src/reporting-site/
    james/hupa/trunk/src/reporting-site/site.xml   (with props)
    james/hupa/trunk/widgets/src/reporting-site/
    james/hupa/trunk/widgets/src/reporting-site/site.xml   (with props)
Modified:
    james/hupa/trunk/pom.xml
    james/hupa/trunk/src/site/site.xml

Added: james/hupa/trunk/client/src/reporting-site/site.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/client/src/reporting-site/site.xml?rev=1155456&view=auto
==============================================================================
--- james/hupa/trunk/client/src/reporting-site/site.xml (added)
+++ james/hupa/trunk/client/src/reporting-site/site.xml Tue Aug  9 18:34:16 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/hupa/trunk/client/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: james/hupa/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/pom.xml?rev=1155456&r1=1155455&r2=1155456&view=diff
==============================================================================
--- james/hupa/trunk/pom.xml (original)
+++ james/hupa/trunk/pom.xml Tue Aug  9 18:34:16 2011
@@ -32,13 +32,12 @@
         <groupId>org.apache.james</groupId>
         <artifactId>james-project</artifactId>
         <version>1.6</version>
+        <relativePath></relativePath>
     </parent>
 
-<!--
     <prerequisites>
         <maven>3.0.2</maven>
     </prerequisites>
--->
 
     <modules>
         <module>shared</module>
@@ -67,7 +66,7 @@
 
     <ciManagement>
         <system>Hudson</system>
-        
<url>http://hudson.zones.apache.org/hudson/view/James/job/hupa-trunk/</url>
+        
<url>https://builds.apache.org/view/G-L/view/James/job/hupa-trunk/</url>
     </ciManagement>
 
     <repositories>
@@ -122,7 +121,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-site-plugin</artifactId>
-                    <version>3.0-beta-3</version>
+                    <version>3.0</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
@@ -134,7 +133,7 @@
                     <artifactId>maven-pmd-plugin</artifactId>
                     <version>2.5</version>
                     <configuration>
-                        <targetJdk>1.5</targetJdk>
+                        <targetJdk>1.6</targetJdk>
                         <rulesets>
                             <ruleset>/rulesets/basic.xml</ruleset>
                             <ruleset>/rulesets/controversial.xml</ruleset>
@@ -146,9 +145,9 @@
                     </configuration>
                 </plugin>
                 <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>
+                    <version>0.7</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
@@ -156,12 +155,22 @@
                     <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-eclipse-plugin</artifactId>
+                    <version>2.8</version>
+                </plugin>
+                <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
                     <version>2.3.2</version>
                     <configuration>
-                        <source>1.5</source>
-                        <target>1.5</target>
+                        <source>1.6</source>
+                        <target>1.6</target>
                         <encoding>iso8859-1</encoding>
                     </configuration>
                 </plugin>
@@ -200,6 +209,21 @@
                     <version>${gwtMavenVersion}</version>
                 </plugin>
                 <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>versions-maven-plugin</artifactId>
+                    <version>1.2</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>findbugs-maven-plugin</artifactId>
+                    <version>2.3.2</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>cobertura-maven-plugin</artifactId>
+                    <version>2.5.1</version>
+                </plugin>
+                <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-war-plugin</artifactId>
                     <version>2.1.1</version>
@@ -207,24 +231,32 @@
             </plugins>
         </pluginManagement>
         <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-site-plugin</artifactId>
-                <version>3.0-beta-3</version>
+          <!-- Site generation -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+            <executions>
+              <!-- Attach non-reporting site-descriptor when installing -->
+              <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>
+              <generateSitemap>true</generateSitemap>
                     <reportPlugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-jxr-plugin</artifactId>
-                            <version>2.2</version>
-                            <configuration>
-                                <aggregate>true</aggregate>
-                            </configuration>
-                        </plugin>
+                        <!-- Order matters. First project-info-reports, second 
jxr. -->
                         <plugin>
                             <groupId>org.apache.maven.plugins</groupId>
                             
<artifactId>maven-project-info-reports-plugin</artifactId>
-                            <version>2.3.1</version>
                             <reportSets>
                                 <reportSet>
                                     <reports>
@@ -250,6 +282,13 @@
                         </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-pmd-plugin</artifactId>
                             <configuration>
                                 <linkXref>true</linkXref>
@@ -339,40 +378,39 @@
                             </configuration>
                         </plugin>
                         <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-javadoc-plugin</artifactId>
-                            <version>2.7</version>
-                            <configuration>
-                                <minmemory>512m</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>
+                          <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>${target.jdk}</source>
+                          </configuration>
+                          <reportSets>
+                            <reportSet>
+                              <reports>
+                                <report>aggregate</report>
+                                <report>test-aggregate</report>
+                              </reports>
+                            </reportSet>
+                          </reportSets>
                         </plugin>
                         <plugin>
                             <groupId>org.codehaus.mojo</groupId>

Added: james/hupa/trunk/server/src/reporting-site/site.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/server/src/reporting-site/site.xml?rev=1155456&view=auto
==============================================================================
--- james/hupa/trunk/server/src/reporting-site/site.xml (added)
+++ james/hupa/trunk/server/src/reporting-site/site.xml Tue Aug  9 18:34:16 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/hupa/trunk/server/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: james/hupa/trunk/shared/src/reporting-site/site.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/reporting-site/site.xml?rev=1155456&view=auto
==============================================================================
--- james/hupa/trunk/shared/src/reporting-site/site.xml (added)
+++ james/hupa/trunk/shared/src/reporting-site/site.xml Tue Aug  9 18:34:16 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/hupa/trunk/shared/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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

Added: james/hupa/trunk/src/reporting-site/site.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/src/reporting-site/site.xml?rev=1155456&view=auto
==============================================================================
--- james/hupa/trunk/src/reporting-site/site.xml (added)
+++ james/hupa/trunk/src/reporting-site/site.xml Tue Aug  9 18:34:16 2011
@@ -0,0 +1,51 @@
+<?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.7-SNAPSHOT</version>
+    </skin>
+
+    <!-- no banner yet -->
+    <!-- 
+    <bannerLeft>
+      <name>James Hupa</name>
+      <src>images/logos/james-hupa-logo.gif</src>
+      <href>http://james.apache.org/hupa/index.html</href>
+      <alt>james-hupa-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="reports" />
+        <menu ref="modules" />
+
+    </body>
+
+</project>

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

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

Modified: james/hupa/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/src/site/site.xml?rev=1155456&r1=1155455&r2=1155456&view=diff
==============================================================================
--- james/hupa/trunk/src/site/site.xml (original)
+++ james/hupa/trunk/src/site/site.xml Tue Aug  9 18:34:16 2011
@@ -29,8 +29,9 @@
   <!-- 
   <bannerLeft>
     <name>James Hupa</name>
-    <src>images/james-hupa-logo.gif</src>
+    <src>images/logos/james-hupa-logo.gif</src>
     <href>http://james.apache.org/hupa/index.html</href>
+    <alt>james-hupa-logo.gif</alt>
   </bannerLeft>
   -->
 

Added: james/hupa/trunk/widgets/src/reporting-site/site.xml
URL: 
http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/reporting-site/site.xml?rev=1155456&view=auto
==============================================================================
--- james/hupa/trunk/widgets/src/reporting-site/site.xml (added)
+++ james/hupa/trunk/widgets/src/reporting-site/site.xml Tue Aug  9 18:34:16 
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/hupa/trunk/widgets/src/reporting-site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

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



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

Reply via email to