blob: dfda2ba29a09d20cd329d7ac6ed8b5ce7d33ff2a [file] [log] [blame]
<?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">
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>52</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>commons-dbutils</groupId>
<artifactId>commons-dbutils</artifactId>
<version>2.0-SNAPSHOT</version>
<name>Apache Commons DbUtils</name>
<inceptionYear>2002</inceptionYear>
<description>The Apache Commons DbUtils package is a set of Java utility classes for easing JDBC development.</description>
<url>https://commons.apache.org/proper/commons-dbutils/</url>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/DBUTILS</url>
</issueManagement>
<prerequisites>
<maven>3.3.9</maven>
</prerequisites>
<scm>
<connection>scm:git:git://git.apache.org/commons-dbutils.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-dbutils.git</developerConnection>
<url>https://gitbox.apache.org/repos/asf?p=commons-dbutils.git</url>
</scm>
<developers>
<developer>
<name>Juozas Baliuka</name>
<id>baliuka</id>
<email>baliuka@apache.org</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Steven Caswell</name>
<id>scaswell</id>
<email>steven@caswell.name</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Dan Fabulich</name>
<id>dfabulich</id>
<email>dan@fabulich.com</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>David Graham</name>
<id>dgraham</id>
<email>dgraham@apache.org</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Yoav Shapira</name>
<id>yoavs</id>
<email>yoavs@apache.org</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>William Speirs</name>
<id>wspeirs</id>
<email>wspeirs@apache.org</email>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Simone Tripodi</name>
<id>simonetripodi</id>
<email>simonetripodi at apache dot org</email>
</developer>
<developer>
<name>Henri Yandell</name>
<id>bayard</id>
<email>bayard@apache.org</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Benedikt Ritter</name>
<id>britter</id>
<email>britter@apache.org</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Carl Hall</name>
<id>thecarlhall</id>
<email>thecarlhall@apache.org</email>
<organization />
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>P├ęter Bagyinszki</name>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Alan Canon</name>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Stefan Fleiter</name>
<email>stefan.fleiter@web.de</email>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Adkins Kendall</name>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Markus Khouri</name>
<email>mkhouri.list@gmail.com</email>
<roles>
<role>Documentation</role>
</roles>
</contributor>
<contributor>
<name>Uli Kleeberger</name>
<email>ukleeberger@web.de</email>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Piotr Lakomy</name>
<email>piotrl@cft-inc.net</email>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Corby Page</name>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Michael Schuerig</name>
<email>michael@schuerig.de</email>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Norris Shelton</name>
<email>norrisshelton@yahoo.com</email>
<roles>
<role>Java Developer</role>
</roles>
</contributor>
<contributor>
<name>Stevo Slavic</name>
<email>sslavic at gmail dot com</email>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.4.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
<site>
<id>apache.website</id>
<name>Apache Commons Site</name>
<url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/${commons.componentid}</url>
</site>
</distributionManagement>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<dbutils.spotbugs.version>4.1.4</dbutils.spotbugs.version>
<commons.checkstyle-plugin.version>3.1.1</commons.checkstyle-plugin.version>
<dbutils.checkstyle.version>8.37</dbutils.checkstyle.version>
<!-- generate report even if there are binary incompatible changes -->
<commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
<commons.japicmp.version>0.14.3</commons.japicmp.version>
<commons.componentid>dbutils</commons.componentid>
<commons.module.name>org.apache.commons.dbutils</commons.module.name>
<commons.release.version>1.8</commons.release.version>
<commons.rc.version>RC1</commons.rc.version>
<commons.bc.version>1.7</commons.bc.version>
<commons.jira.id>DBUTILS</commons.jira.id>
<commons.jira.pid>12310470</commons.jira.pid>
<commons.releaseManagerName>Carl Hall</commons.releaseManagerName>
<commons.releaseManagerKey>1e5ab6d3cf8ebf5f</commons.releaseManagerKey>
</properties>
<build>
<defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${commons.checkstyle-plugin.version}</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<headerLocation>${basedir}/license-header.txt</headerLocation>
<suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
<suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression>
<failOnViolation>false</failOnViolation>
</configuration>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${dbutils.checkstyle.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${dbutils.spotbugs.version}</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>sb-excludes.xml</excludeFilterFile>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/BaseTestCase.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
<descriptor>src/main/assembly/src.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>${commons.changes.version}</version>
<configuration>
<xmlPath>${basedir}/src/changes/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>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${commons.pmd.version}</version>
<configuration>
<targetJdk>${maven.compiler.source}</targetJdk>
<rulesets>
<ruleset>${basedir}/pmd-ruleset.xml</ruleset>
</rulesets>
</configuration>
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>rc</id>
<distributionManagement>
<!-- Cannot define in parent ATM, see COMMONSSITE-26 -->
<site>
<id>apache.website</id>
<name>Apache Commons Release Candidate Staging Site</name>
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/commons/${commons.componentid}/${commons.release.version}/${commons.rc.version}/site</url>
</site>
</distributionManagement>
</profile>
<profile>
<id>travis-jacoco</id>
<activation>
<jdk>[1.9,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${commons.jacoco.version}</version>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${commons.coveralls.version}</version>
<configuration>
<timestampFormat>${commons.coveralls.timestampFormat}</timestampFormat>
</configuration>
<dependencies>
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>