Author: bago
Date: Sat May 27 05:53:12 2006
New Revision: 409826

URL: http://svn.apache.org/viewvc?rev=409826&view=rev
Log:
Added automatic reports submenus to the site.xml layout, added a few reports 
(pmd, xref, todos, clover) to the default site generation. (related to JSPF-6)

Modified:
    james/jspf/trunk/pom.xml
    james/jspf/trunk/src/site/site.xml

Modified: james/jspf/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/jspf/trunk/pom.xml?rev=409826&r1=409825&r2=409826&view=diff
==============================================================================
--- james/jspf/trunk/pom.xml (original)
+++ james/jspf/trunk/pom.xml Sat May 27 05:53:12 2006
@@ -1,205 +1,214 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
-       <modelVersion>4.0.0</modelVersion>
-       <groupId>org.apache.james.jspf</groupId>
-       <artifactId>jspf</artifactId>
-       <name>Apache James jSPF</name>
-       <version>1.0b1</version>
-       <description>
-               jspf implements the spf specification
-       </description>
-       <url>http://james.apache.org/jspf</url>
-       <inceptionYear>2006</inceptionYear>
-
-       <dependencies>
-               <dependency>
-                       <groupId>dnsjava</groupId>
-                       <artifactId>dnsjava</artifactId>
-                       <version>2.0.1</version>
-               </dependency>
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-                       <version>3.8.1</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>log4j</groupId>
-                       <artifactId>log4j</artifactId>
-                       <version>1.2.13</version>
-               </dependency>
-       </dependencies>
-
-       <developers>
-               <developer>
-                       <id>bago</id>
-                       <name>Stefano Bagnara</name>
-                       <email>[EMAIL PROTECTED]</email>
-                       <timezone>2</timezone>
-                       <roles>
-                               <role>Developer</role>
-                       </roles>
-               </developer>
-               <developer>
-                       <id>norman</id>
-                       <name>Norman Maurer</name>
-                       <email>[EMAIL PROTECTED]</email>
-                       <timezone>2</timezone>
-                       <roles>
-                               <role>Developer</role>
-                       </roles>
-               </developer>
-       </developers>
-
-       <ciManagement>
-               <notifiers>
-                       <notifier>
-                               <type>mail</type>
-                               <address>[EMAIL PROTECTED]</address>
-                       </notifier>
-                       <notifier>
-                               <type>mail</type>
-                               <address>[EMAIL PROTECTED]</address>
-                       </notifier>
-               </notifiers>
-       </ciManagement>
-
-       <contributors>
-               <contributor>
-                       <name>Roger Fullerton</name>
-                       <properties>
-                               <description>
-                                       Wrote spfjava, the first spf 
implementation in java
-                               </description>
-                       </properties>
-               </contributor>
-       </contributors>
-
-       <organization>
-               <name>Apache Software Foundation</name>
-               <url>http://www.apache.org</url>
-       </organization>
-
-       <licenses>
-               <license>
-                       <name>Apache License, Version 2.0</name>
-                       
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
-                       <distribution>repo</distribution>
-               </license>
-       </licenses>
-
-       <issueManagement>
-               <system>JIRA</system>
-               <url>http://issues.apache.org/jira/browse/JSPF</url>
-       </issueManagement>
-
-       <scm>
-               <connection>
-                       scm:svn:http://svn.apache.org/repos/asf/james/jspf/trunk
-               </connection>
-               <developerConnection>
-                       
scm:svn:https://svn.apache.org/repos/asf/james/jspf/trunk
-               </developerConnection>
-               <url>
-                       
http://svn.apache.org/viewcvs.cgi/james/jspf/trunk/?root=Apache-SVN
-               </url>
-       </scm>
-
-       <mailingLists>
-               <mailingList>
-                       <name>Apache jSPF Developement</name>
-                       <subscribe>[EMAIL PROTECTED]</subscribe>
-                       <unsubscribe>
-                               [EMAIL PROTECTED]
-                       </unsubscribe>
-                       <post>[email protected]</post>
-                       <archive>
-                               
http://mail-archives.apache.org/mod_mbox/james-server-dev/
-                       </archive>
-               </mailingList>
-       </mailingLists>
-
-       <reporting>
-               <plugins>
-                       <!-- 
-                               <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>changelog-maven-plugin</artifactId>
-                               </plugin>
-                               <plugin>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               </plugin>
-                               <plugin>
-                               <artifactId>maven-checkstyle-plugin</artifactId>
-                               </plugin>
-                               <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               
<artifactId>surefire-report-maven-plugin</artifactId>
-                               </plugin> 
-                       -->
-                       <plugin>
-                               <artifactId>maven-javadoc-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>jxr-maven-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-clover-plugin</artifactId>
-                       </plugin>
-                       <!-- 
-                               <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               
-                               <artifactId>maven-pmd-plugin</artifactId>
-                               <configuration>
-                               <targetjdk>1.4</targetjdk>
-                               <rulesets>
-                               <ruleset>/rulesets/basic.xml</ruleset>
-                               <ruleset>/rulesets/controversial.xml</ruleset>
-                               </rulesets>
-                               <format>xml</format>
-                               <linkXref>true</linkXref>
-                               <sourceEncoding>utf-8</sourceEncoding>
-                               
-                               <minimumTokens>100</minimumTokens>
-                               </configuration>
-                               </plugin>
-                               <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>taglist-maven-plugin</artifactId>
-                               </plugin>
-                       -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-site-plugin</artifactId>
-                       </plugin>
-               </plugins>
-       </reporting>
-
-       <build>
-               <plugins>
-               <plugin>
-                       <groupId>org.apache.maven.plugins</groupId>
-                       <artifactId>maven-jar-plugin</artifactId>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.james.jspf</groupId>
+  <artifactId>jspf</artifactId>
+  <name>Apache James jSPF</name>
+  <version>1.0b1</version>
+  <description>
+    jspf implements the spf specification
+  </description>
+  <url>http://james.apache.org/jspf</url>
+  <inceptionYear>2006</inceptionYear>
+
+  <dependencies>
+    <dependency>
+      <groupId>dnsjava</groupId>
+      <artifactId>dnsjava</artifactId>
+      <version>2.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.13</version>
+    </dependency>
+  </dependencies>
+
+  <developers>
+    <developer>
+      <id>bago</id>
+      <name>Stefano Bagnara</name>
+      <email>[EMAIL PROTECTED]</email>
+      <timezone>2</timezone>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+    <developer>
+      <id>norman</id>
+      <name>Norman Maurer</name>
+      <email>[EMAIL PROTECTED]</email>
+      <timezone>2</timezone>
+      <roles>
+        <role>Developer</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <type>mail</type>
+        <address>[EMAIL PROTECTED]</address>
+      </notifier>
+      <notifier>
+        <type>mail</type>
+        <address>[EMAIL PROTECTED]</address>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+
+  <contributors>
+    <contributor>
+      <name>Roger Fullerton</name>
+      <properties>
+        <description>
+          Wrote spfjava, the first spf implementation in java
+        </description>
+      </properties>
+    </contributor>
+  </contributors>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org</url>
+  </organization>
+
+  <licenses>
+    <license>
+      <name>Apache License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.apache.org/jira/browse/JSPF</url>
+  </issueManagement>
+
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/james/jspf/trunk
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/james/jspf/trunk
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewcvs.cgi/james/jspf/trunk/?root=Apache-SVN
+    </url>
+  </scm>
+
+  <mailingLists>
+    <mailingList>
+      <name>Apache jSPF Developement</name>
+      <subscribe>[EMAIL PROTECTED]</subscribe>
+      <unsubscribe>
+        [EMAIL PROTECTED]
+      </unsubscribe>
+      <post>[email protected]</post>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/james-server-dev/
+      </archive>
+    </mailingList>
+  </mailingLists>
+
+  <reporting>
+    <plugins>
+      <!-- 
+        <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>changelog-maven-plugin</artifactId>
+        </plugin>
+        <plugin>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        </plugin>
+      -->
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>surefire-report-maven-plugin</artifactId>
+      </plugin> 
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>jxr-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <configuration>
+          <targetjdk>1.4</targetjdk>
+          <rulesets>
+            <ruleset>/rulesets/basic.xml</ruleset>
+            <ruleset>/rulesets/controversial.xml</ruleset>
+          </rulesets>
+          <format>xml</format>
+          <linkXref>true</linkXref>
+          <sourceEncoding>utf-8</sourceEncoding>
         
-                       <configuration>
-                               <archive>
-                               <!--
-                               <index>true</true>
-                               -->
-                               <manifest>
-                                       
<mainClass>org.apache.james.jspf.SPFQuery</mainClass>
-                                       
<packageName>org.apache.james.jspf</packageName>
-                                       <addClasspath>true</addClasspath>
-                               </manifest>
-                               <manifestEntries>
-                                       <mode>development</mode>
-                                       <url>${pom.url}</url>
-                               </manifestEntries>
-                               </archive>
-                       </configuration>
-               </plugin>
-       </plugins>
+          <minimumTokens>100</minimumTokens>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>taglist-maven-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-clover-plugin</artifactId>
+        <configuration>
+          <generateHtml>true</generateHtml>
+          <generatePdf>false</generatePdf>
+          <generateXml>false</generateXml>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>site</phase>
+            <goals>
+              <goal>instrument</goal>
+              <goal>clover</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <!--
+            <index>true</true>
+            -->
+            <manifest>
+              <mainClass>org.apache.james.jspf.SPFQuery</mainClass>
+              <packageName>org.apache.james.jspf</packageName>
+              <addClasspath>true</addClasspath>
+            </manifest>
+            <manifestEntries>
+              <mode>development</mode>
+              <url>${pom.url}</url>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 </project>

Modified: james/jspf/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/james/jspf/trunk/src/site/site.xml?rev=409826&r1=409825&r2=409826&view=diff
==============================================================================
--- james/jspf/trunk/src/site/site.xml (original)
+++ james/jspf/trunk/src/site/site.xml Sat May 27 05:53:12 2006
@@ -40,12 +40,13 @@
       <item name="License" href="license.html"/>
     </menu>
 
-
     <menu name="Useful Information">
       <item name="Get Involved" 
href="http://jakarta.apache.org/site/getinvolved.html"/>
       <item name="Reference Library" 
href="http://jakarta.apache.org/site/library.html"/>
       <item name="Apache" href="http://apache.org/foundation/faq.html"; />
     </menu>
+    
+    ${reports}
 
   </body>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to