alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Commons DBCP example source code file (pom.xml)

This example Commons DBCP source code file (pom.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Commons DBCP tags/keywords

apache, asf, asf, dbcp, foundation, foundation, issue, license, license, see, software, software, url, you

The Commons DBCP pom.xml source code

<?xml version="1.0"?>
<!--
   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">
  <parent>
    <groupId>org.apache.commons
    <artifactId>commons-parent
    <version>12
  </parent>
  <modelVersion>4.0.0
  <groupId>commons-dbcp
  <artifactId>commons-dbcp
  <version>1.4
  <name>Commons DBCP

  <inceptionYear>2001
  <description>Commons Database Connection Pooling
  <url>http://commons.apache.org/dbcp/

  <distributionManagement>
    <site>
      <id>people.apache.org
      <name>Commons DBCP
      <url>scp://people.apache.org/www/commons.apache.org/dbcp
    </site>
  </distributionManagement>
  
  <issueManagement>
    <system>jira
    <url>http://issues.apache.org/jira/browse/DBCP
  </issueManagement>

  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/dbcp/trunk
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk
    <url>http://svn.apache.org/viewvc/commons/proper/dbcp/trunk
  </scm>

  <developers>
    <developer>
      <name>Morgan Delagrange
      <id>morgand
      <email>
      <organization>
    </developer>
    <developer>
      <name>Geir Magnusson
      <id>geirm
      <email>
      <organization>
    </developer>
    <developer>
      <name>Craig McClanahan
      <id>craigmcc
      <email>
      <organization>
    </developer>
    <developer>
      <name>John McNally
      <id>jmcnally
      <email>
      <organization>
    </developer>
    <developer>
      <name>Martin Poeschl
      <id>mpoeschl
      <email>mpoeschl@marmot.at
      <organization>tucana.at
    </developer>
    <developer>
      <name>Rodney Waldhoff
      <id>rwaldhoff
      <email>
      <organization>
    </developer>
    <developer>
      <name>David Weinrich
      <id>dweinr1
      <email>
      <organization>
    </developer>
    <developer>
      <name>Dirk Verbeeck
      <id>dirkv
      <email>
      <organization>
    </developer>
    <developer>
      <name>Yoav Shapira
      <id>yoavs
      <email>yoavs@apache.org
      <organization>Apache Software Foundation
    </developer>
    <developer>
      <name>Phil Steitz
      <id>psteitz
      <email>
      <organization>
    </developer>
    <developer>
      <name>Jörg Schaible
      <id>joehni
      <email>joerg.schaible@gmx.de
      <organization>
      <timezone>+1
    </developer>
    <developer>
      <name>Mark Thomas
      <id>markt
      <email>markt@apache.org
      <organization>Apache Software Foundation
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>Todd Carmichael
      <email>toddc@concur.com
    </contributor>
    <contributor>
      <name>Wayne Woodfield
    </contributor>
    <contributor>
      <name>Dain Sundstrom
      <email>dain@apache.org
    </contributor>
    <contributor>
      <name>Philippe Mouawad
    </contributor>
  </contributors>

  <dependencies>
    <dependency>
      <groupId>commons-pool
      <artifactId>commons-pool
      <version>1.5.4
    </dependency>

    <dependency>
      <groupId>junit
      <artifactId>junit
      <version>3.8.2
      <scope>test
    </dependency>

    <!-- For managed connections -->
    <dependency>
      <groupId>org.apache.geronimo.specs
      <artifactId>geronimo-jta_1.1_spec
       <version>1.1.1
       <optional>true
    </dependency>

    <!-- tomcat naming jars for jndi reference tests -->
    <dependency>
      <groupId>tomcat
      <artifactId>naming-common
      <version>5.0.28
      <scope>test
    </dependency>
    
    <dependency>
      <groupId>tomcat
      <artifactId>naming-java
      <version>5.0.28
      <scope>test
    </dependency>
    
    <!-- dragged in by tomcat-naming jars - only for jndi tests -->
    <dependency>
      <groupId>commons-logging
      <artifactId>commons-logging
       <version>1.1.1
       <scope>test
    </dependency>

    <!-- for testing of managed connections -->
    <dependency>
      <groupId>org.apache.geronimo.modules
      <artifactId>geronimo-transaction
       <version>1.2-beta
       <scope>test
    </dependency>
  </dependencies>

  <properties>
    <maven.compile.source>1.6
    <maven.compile.target>1.6
    <commons.componentid>dbcp
    <commons.release.version>1.4
    <commons.jira.id>DBCP
    <commons.jira.pid>12310469
  </properties> 

  <build>
    <sourceDirectory>src/java
    <testSourceDirectory>src/test
    <resources>
      <resource>
        <directory>src/test
        <includes>
          <include>testpool.jocl
        </includes>
      </resource>
      <resource>
        <directory>.
        <targetPath>META-INF
          <includes>
            <include>NOTICE.txt
            <include>LICENSE.txt
          </includes>
        </resource>
      </resources>
      <testResources>
        <testResource>
          <directory>${basedir}/src/test
          <includes>
            <include>testpool.jocl
          </includes>
        </testResource>
      </testResources>
      <plugins>
        <!-- Specify cobertura version for "cobertura:cobertura" goal -->
        <plugin>
          <groupId>org.codehaus.mojo
          <artifactId>cobertura-maven-plugin
          <version>2.3
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins
          <artifactId>maven-surefire-plugin
            <configuration>
            <reportFormat>plain
              <excludes>
                <!-- Test support files -->
                <exclude>**/Tester*.java
                <!-- Exclude nested classes which Surefire cannot handle --> 
                <exclude>**/Test*$*.java
              </excludes>
          </configuration>
        </plugin>
        <plugin>
          <artifactId>maven-assembly-plugin
          <configuration>
            <descriptors>
              <descriptor>src/assembly/bin.xml
              <descriptor>src/assembly/src.xml
            </descriptors>
            <tarLongFileMode>gnu
          </configuration>
        </plugin>
      </plugins>
    </build>
    <reporting>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo
          <artifactId>findbugs-maven-plugin
          <version>2.1
          <configuration>
            <threshold>Normal
            <effort>Default
            <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo
          <artifactId>cobertura-maven-plugin
          <version>2.3
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins
          <artifactId>maven-javadoc-plugin
          <version>2.4
          <configuration>
            <links>
              <link>http://java.sun.com/j2se/1.5.0/docs/api
              <link>http://commons.apache.org/pool/api-1.5.4
              <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api
            </links>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins
          <artifactId>maven-changes-plugin
          <version>2.0
          <configuration>
            <xmlPath>${basedir}/xdocs/changes.xml
            <issueLinkTemplate>%URL%/%ISSUE%
            <template>dbcp-release-notes.vm
            <templateDirectory>src/template
          </configuration>
          <reportSets>
            <reportSet>
              <reports>
                <report>changes-report
              </reports>
            </reportSet>
          </reportSets>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins
          <artifactId>maven-checkstyle-plugin
          <version>2.1
          <configuration>
            <configLocation>${basedir}/checkstyle.xml
            <enableRulesSummary>false
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins
          <artifactId>maven-pmd-plugin
          <version>2.4
          <configuration>
            <rulesets>
              <ruleset>checkstyle.xml
            </rulesets>
            <targetJdk>${maven.compile.target}
          </configuration>
        </plugin>
        <plugin>
        <groupId>org.codehaus.mojo
        <artifactId>clirr-maven-plugin
        <version>2.2.2
        <configuration>
          <comparisonVersion>1.2.2
          <minSeverity>info
        </configuration>
      </plugin>
      </plugins>
    </reporting>
</project>

Other Commons DBCP examples (source code examples)

Here is a short list of links related to this Commons DBCP pom.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.