Author: psteitz
Date: Thu Jul  5 23:04:45 2007
New Revision: 553747

URL: http://svn.apache.org/viewvc?view=rev&rev=553747
Log:
Updates / fixes to get site generation working on Maven 2
- Added site.xml based on navigation.xml
POM fixes:
- Updated version to 1.3-SNAPSHOT
- Added reporting section
- Updated commons parent version

Added:
    jakarta/commons/proper/dbcp/trunk/src/site/
    jakarta/commons/proper/dbcp/trunk/src/site/site.xml
Modified:
    jakarta/commons/proper/dbcp/trunk/pom.xml

Modified: jakarta/commons/proper/dbcp/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/pom.xml?view=diff&rev=553747&r1=553746&r2=553747
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/pom.xml (original)
+++ jakarta/commons/proper/dbcp/trunk/pom.xml Thu Jul  5 23:04:45 2007
@@ -22,12 +22,12 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>1</version>
+    <version>2</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-dbcp</groupId>
   <artifactId>commons-dbcp</artifactId>
-  <version>1.2.2</version>
+  <version>1.3-SNAPSHOT</version>
   <name>Commons DBCP</name>
 
   <inceptionYear>2001</inceptionYear>
@@ -243,5 +243,79 @@
         </plugin>
       </plugins>
     </build>
-
+    <reporting>
+      <plugins>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>findbugs-maven-plugin</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <threshold>Normal</threshold>
+            <effort>Default</effort>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>cobertura-maven-plugin</artifactId>
+          <version>2.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.2</version>
+          <configuration>
+            <links>
+              <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+              <link>http://jakarta.apache.org/commons/pool/api-1.3</link>
+              <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api</link>
+            </links>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-changes-plugin</artifactId>
+          <version>2.0-beta-2</version>
+          <configuration>
+            <xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
+            <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
+          </configuration>
+          <reportSets>
+            <reportSet>
+              <reports>
+                <report>changes-report</report>
+              </reports>
+            </reportSet>
+          </reportSets>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <version>2.1</version>
+          <configuration>
+            <configLocation>checkstyle.xml</configLocation>
+            <enableRulesSummary>false</enableRulesSummary>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-report-plugin</artifactId>
+          <version>2.3</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jxr-plugin</artifactId>
+          <version>2.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <version>2.2</version>
+          <configuration>
+            <rulesets>
+              <ruleset>checkstyle.xml</ruleset>
+            </rulesets>
+          </configuration>
+        </plugin>
+      </plugins>
+    </reporting>
 </project>

Added: jakarta/commons/proper/dbcp/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/src/site/site.xml?view=auto&rev=553747
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/src/site/site.xml (added)
+++ jakarta/commons/proper/dbcp/trunk/src/site/site.xml Thu Jul  5 23:04:45 2007
@@ -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.
+  -->
+<!DOCTYPE org.apache.commons.menus SYSTEM 
'http://jakarta.apache.org/commons/build/maven-build.dtd'>
+<project name="DBCP">
+  <bannerRight>
+    <name>Commons Math</name>
+    <src>/images/dbcp-logo-white.png</src>
+    <href>/index.html</href>
+  </bannerRight>
+    <body>
+      <menu name="Commons&#xA0;DBCP">
+        <item name="Overview" href="/index.html" />
+        <item name="Configuration" href="/configuration.html" />
+        <item name="Javadoc (1.2.2 release)" 
href="http://jakarta.apache.org/commons/dbcp/api-1.2.2/index.html"/>
+        <item name="Javadoc (1.3-SNAPSHOT)" href="apidocs/index.html"/>
+        <item name="Developers&#xA0;Guide" href="/guide/index.html" 
collapse="true">
+        <item name="JNDI&#xA0;Howto"  href="/guide/jndi-howto.html"/>
+        <item name="Class&#xA0;Diagrams" href="/guide/classdiagrams.html"/>
+        <item name="Sequence&#xA0;Diagrams" 
href="/guide/sequencediagrams.html"/>
+        </item>
+        <item name="Examples" 
href="http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/dbcp/trunk/doc/"/>
+        <item name="Downloads" href="/downloads.html"/>
+        <item name="Wiki" href="http://wiki.apache.org/jakarta-commons/DBCP"/>
+      </menu>
+  
+      <menu name="Development">
+        <item name="History" href="/changes-report.html"/>
+        <item name="Building"  href="/building.html"/>
+        <item name="Mailing lists" href="/mail-lists.html"/>
+        <item name="Issue Tracking" href="/issue-tracking.html"/>
+        <item name="Team"  href="/team-list.html"/>
+        <item name="Source repository" href="cvs-usage.html"/>
+      </menu>
+
+    </body>
+</project>



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

Reply via email to