1215 lines
52 KiB
XML
1215 lines
52 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright 2021 OPS4J.
|
|
|
|
Licensed 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 https://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.ops4j</groupId>
|
|
<artifactId>master</artifactId>
|
|
<version>4.3.0</version>
|
|
</parent>
|
|
|
|
<groupId>org.ops4j.pax</groupId>
|
|
<artifactId>jdbc</artifactId>
|
|
<version>1.5.6</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>OPS4J Pax JDBC (Reactor POM)</name>
|
|
|
|
<url>https://ops4j1.jira.com/wiki/spaces/PAXJDBC/overview</url>
|
|
|
|
<inceptionYear>2012</inceptionYear>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<comments>
|
|
Licensed 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.
|
|
</comments>
|
|
</license>
|
|
</licenses>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/ops4j/org.ops4j.pax.jdbc/issues</url>
|
|
</issueManagement>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:ops4j/org.ops4j.pax.jdbc.git</connection>
|
|
<developerConnection>scm:git:git@github.com:ops4j/org.ops4j.pax.jdbc.git</developerConnection>
|
|
<url>https://github.com/ops4j/org.ops4j.pax.jdbc/tree/master</url>
|
|
<tag>jdbc-1.5.6</tag>
|
|
</scm>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>hwellmann</id>
|
|
<name>Harald Wellmann</name>
|
|
<email>harald.wellmann@gmx.de</email>
|
|
<organization>independent software developer</organization>
|
|
<roles>
|
|
<role>Developer</role>
|
|
</roles>
|
|
<timezone>UTC+1</timezone>
|
|
</developer>
|
|
<developer>
|
|
<id>chrisdolan</id>
|
|
<name>Chris Dolan</name>
|
|
<email>chrisdolan@apache.org</email>
|
|
</developer>
|
|
<developer>
|
|
<id>dschmitz</id>
|
|
<name>David Schmitz</name>
|
|
<email>david-schmitz@gmx.net</email>
|
|
</developer>
|
|
<developer>
|
|
<id>gnodet</id>
|
|
<name>Guillaume Nodet</name>
|
|
<email>gnodet@gmail.com</email>
|
|
</developer>
|
|
<developer>
|
|
<id>ggrzybek</id>
|
|
<name>Grzegorz Grzybek</name>
|
|
<email>gr.grzybek@gmail.com</email>
|
|
<roles>
|
|
<role>Developer</role>
|
|
</roles>
|
|
<timezone>+1</timezone>
|
|
</developer>
|
|
</developers>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<!-- versions of Maven plugins -->
|
|
|
|
<!-- Maven plugins from org.apache.maven.plugins (and their dependencies) -->
|
|
<plugin.maven-assembly-plugin>3.6.0</plugin.maven-assembly-plugin>
|
|
<plugin.maven-checkstyle-plugin>3.3.0</plugin.maven-checkstyle-plugin>
|
|
<plugin.dependency.com.puppycrawl.tools.checkstyle>8.40</plugin.dependency.com.puppycrawl.tools.checkstyle>
|
|
<plugin.maven-clean-plugin>3.3.1</plugin.maven-clean-plugin>
|
|
<plugin.maven-compiler-plugin>3.11.0</plugin.maven-compiler-plugin>
|
|
<plugin.maven-dependency-plugin>3.6.0</plugin.maven-dependency-plugin>
|
|
<plugin.maven-deploy-plugin>3.1.1</plugin.maven-deploy-plugin>
|
|
<plugin.maven-enforcer-plugin>3.3.0</plugin.maven-enforcer-plugin>
|
|
<plugin.dependency.org.commonjava.maven.enforcer>1.3</plugin.dependency.org.commonjava.maven.enforcer>
|
|
<plugin.maven-failsafe-plugin>3.1.2</plugin.maven-failsafe-plugin>
|
|
<plugin.maven-gpg-plugin>3.1.0</plugin.maven-gpg-plugin>
|
|
<plugin.maven-install-plugin>3.1.1</plugin.maven-install-plugin>
|
|
<plugin.maven-jar-plugin>3.3.0</plugin.maven-jar-plugin>
|
|
<plugin.maven-javadoc-plugin>3.5.0</plugin.maven-javadoc-plugin>
|
|
<plugin.maven-release-plugin>3.0.1</plugin.maven-release-plugin>
|
|
<plugin.maven-remote-resources-plugin>3.1.0</plugin.maven-remote-resources-plugin>
|
|
<plugin.maven-resources-plugin>3.3.1</plugin.maven-resources-plugin>
|
|
<plugin.dependency.maven-filtering>3.3.1</plugin.dependency.maven-filtering>
|
|
<plugin.maven-shade-plugin>3.5.0</plugin.maven-shade-plugin>
|
|
<plugin.maven-site-plugin>3.12.1</plugin.maven-site-plugin>
|
|
<plugin.maven-source-plugin>3.3.0</plugin.maven-source-plugin>
|
|
<plugin.maven-surefire-plugin>3.1.2</plugin.maven-surefire-plugin>
|
|
|
|
<!-- Other Maven plugins (and their dependencies) -->
|
|
<plugin.felix.maven-bundle-plugin>5.1.9</plugin.felix.maven-bundle-plugin>
|
|
<plugin.mojo.build-helper-maven-plugin>3.4.0</plugin.mojo.build-helper-maven-plugin>
|
|
<plugin.mycila.license-maven-plugin>4.2</plugin.mycila.license-maven-plugin>
|
|
<plugin.ops4j.osgi-report-maven-plugin>0.1.1</plugin.ops4j.osgi-report-maven-plugin>
|
|
<plugin.servicemix.depends-maven-plugin>1.5.0</plugin.servicemix.depends-maven-plugin>
|
|
<plugin.sonatype.nexus-staging-maven-plugin>1.6.13</plugin.sonatype.nexus-staging-maven-plugin>
|
|
|
|
<!-- versions of Maven dependencies (sorted and groupped) -->
|
|
|
|
<version.biz.aQute.bnd>6.4.1</version.biz.aQute.bnd>
|
|
<!-- 5.x is JDK 11 -->
|
|
<version.com.zaxxer.hikari>4.0.3</version.com.zaxxer.hikari>
|
|
<version.junit>4.13.2</version.junit>
|
|
|
|
<version.jakarta.el>3.0.3</version.jakarta.el>
|
|
<version.javax.enterprise.cdi>2.0.SP1</version.javax.enterprise.cdi>
|
|
<!-- javax.inject/javax.inject/1 is not an OSGi bundle -->
|
|
<version.org.apache.servicemix.bundles.javax-inject>1_3</version.org.apache.servicemix.bundles.javax-inject>
|
|
<version.javax.interceptor>1.2.2</version.javax.interceptor>
|
|
<version.javax.transaction>1.2</version.javax.transaction>
|
|
<version.javax.validation>1.1.0.Final</version.javax.validation>
|
|
|
|
<version.net.bytebuddy>1.14.5</version.net.bytebuddy>
|
|
|
|
<version.org.apache.aries.transaction.jdbc>2.1.3</version.org.apache.aries.transaction.jdbc>
|
|
<version.org.apache.aries.transaction.manager>1.3.3</version.org.apache.aries.transaction.manager>
|
|
<version.org.apache.aries.util>1.1.3</version.org.apache.aries.util>
|
|
<version.org.apache.commons.dbcp2>2.9.0</version.org.apache.commons.dbcp2>
|
|
<version.org.apache.commons.pool2>2.11.1</version.org.apache.commons.pool2>
|
|
<version.org.apache.felix.configadmin>1.9.26</version.org.apache.felix.configadmin>
|
|
<version.org.apache.felix.metatype>1.2.4</version.org.apache.felix.metatype>
|
|
<version.org.apache.felix.framework>5.6.12</version.org.apache.felix.framework>
|
|
<version.org.apache.geronimo.connector>3.1.5</version.org.apache.geronimo.connector>
|
|
<version.org.apache.geronimo.specs.j2ee-connector_1.6>1.0</version.org.apache.geronimo.specs.j2ee-connector_1.6>
|
|
<version.org.apache.geronimo.specs.validation_1.0>1.1</version.org.apache.geronimo.specs.validation_1.0>
|
|
<version.org.apache.karaf>4.2.16</version.org.apache.karaf>
|
|
<version.org.apache.logging.log4j>2.20.0</version.org.apache.logging.log4j>
|
|
<version.org.apache.servicemix.bundles.c3p0>0.9.5.5_1</version.org.apache.servicemix.bundles.c3p0>
|
|
<version.org.apache.servicemix.bundles.cglib>3.3.0_1</version.org.apache.servicemix.bundles.cglib>
|
|
<version.org.apache.servicemix.bundles.jasypt>1.9.3_1</version.org.apache.servicemix.bundles.jasypt>
|
|
<version.org.apache.servicemix.bundles.javax-inject>1_3</version.org.apache.servicemix.bundles.javax-inject>
|
|
|
|
<version.org.jboss.jboss-transaction-spi>7.6.1.Final</version.org.jboss.jboss-transaction-spi>
|
|
<version.org.jboss.logging>3.4.3.Final</version.org.jboss.logging>
|
|
<version.org.jboss.narayana>5.12.7.Final</version.org.jboss.narayana>
|
|
|
|
<version.org.mockito>4.11.0</version.org.mockito>
|
|
<version.org.objenesis>3.3</version.org.objenesis>
|
|
<version.org.ops4j.base>1.5.1</version.org.ops4j.base>
|
|
<version.org.ops4j.pax.exam>4.13.5</version.org.ops4j.pax.exam>
|
|
<version.org.ops4j.pax.logging>1.12.6</version.org.ops4j.pax.logging>
|
|
<version.org.ops4j.pax.swissbox>1.8.5</version.org.ops4j.pax.swissbox>
|
|
<version.org.ops4j.pax.transx>0.5.4</version.org.ops4j.pax.transx>
|
|
<version.org.ops4j.pax.url>2.6.14</version.org.ops4j.pax.url>
|
|
|
|
<version.org.osgi>6.0.0</version.org.osgi>
|
|
<version.org.osgi.service.jdbc>1.1.0</version.org.osgi.service.jdbc>
|
|
|
|
<version.org.slf4j>1.7.36</version.org.slf4j>
|
|
|
|
<!-- versions of JDBC drivers -->
|
|
|
|
<version.com.h2database>2.2.220</version.com.h2database>
|
|
<!-- 12.2.0.jre8 has non-optional import for jdk.net package -->
|
|
<version.com.microsoft.sqlserver.jdbc>12.3.1.jre8-preview</version.com.microsoft.sqlserver.jdbc>
|
|
<version.com.oracle.database.jdbc>23.2.0.0</version.com.oracle.database.jdbc>
|
|
<!-- see https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-upgrading-to-8.0.html -->
|
|
<version.com.mysql>8.1.0</version.com.mysql>
|
|
<version.net.sourceforge.jtds>1.3.1</version.net.sourceforge.jtds>
|
|
<!-- 10.15.x is for JDK11+ -->
|
|
<version.org.apache.derby>10.14.2.0</version.org.apache.derby>
|
|
<version.org.hsqldb>2.7.2</version.org.hsqldb>
|
|
<version.org.mariadb.jdbc>3.1.4</version.org.mariadb.jdbc>
|
|
<version.org.postgresql>42.6.0</version.org.postgresql>
|
|
<version.org.xerial.sqlite>3.42.0.0</version.org.xerial.sqlite>
|
|
</properties>
|
|
|
|
<modules>
|
|
<module>pax-jdbc</module>
|
|
|
|
<module>pax-jdbc-common</module>
|
|
<module>pax-jdbc-pool-common</module>
|
|
|
|
<module>pax-jdbc-config</module>
|
|
|
|
<module>pax-jdbc-db2</module>
|
|
<module>pax-jdbc-derby</module>
|
|
<module>pax-jdbc-derbyclient</module>
|
|
<module>pax-jdbc-hsqldb</module>
|
|
<module>pax-jdbc-mysql</module>
|
|
<module>pax-jdbc-mariadb</module>
|
|
<module>pax-jdbc-sqlite</module>
|
|
<module>pax-jdbc-oracle</module>
|
|
<module>pax-jdbc-jtds</module>
|
|
<module>pax-jdbc-teradata</module>
|
|
|
|
<module>pax-jdbc-pool-aries</module>
|
|
<module>pax-jdbc-pool-c3p0</module>
|
|
<module>pax-jdbc-pool-dbcp2</module>
|
|
<module>pax-jdbc-pool-hikaricp</module>
|
|
<module>pax-jdbc-pool-narayana</module>
|
|
<module>pax-jdbc-pool-transx</module>
|
|
|
|
<module>pax-jdbc-features</module>
|
|
|
|
<module>pax-jdbc-itest</module>
|
|
<module>pax-jdbc-karaf-itest</module>
|
|
</modules>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>apache-snapshots</id>
|
|
<url>https://repository.apache.org/content/repositories/snapshots</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
|
|
<!-- Core plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>${plugin.maven-clean-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${plugin.maven-compiler-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>${plugin.maven-deploy-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${plugin.maven-failsafe-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>${plugin.maven-install-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>${plugin.maven-resources-plugin}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<!-- Fix org.ops4j:master:4.3.0 -->
|
|
<groupId>org.apache.maven.shared</groupId>
|
|
<artifactId>maven-filtering</artifactId>
|
|
<version>${plugin.dependency.maven-filtering}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>${plugin.maven-site-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${plugin.maven-surefire-plugin}</version>
|
|
</plugin>
|
|
|
|
<!-- Packaging types/tools -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${plugin.maven-jar-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>${plugin.maven-shade-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${plugin.maven-source-plugin}</version>
|
|
</plugin>
|
|
|
|
<!-- Reporting plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>${plugin.maven-checkstyle-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${plugin.maven-javadoc-plugin}</version>
|
|
</plugin>
|
|
|
|
<!-- Tools -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${plugin.maven-assembly-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>${plugin.maven-dependency-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>${plugin.maven-enforcer-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${plugin.maven-gpg-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>${plugin.maven-release-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
<version>${plugin.maven-remote-resources-plugin}</version>
|
|
</plugin>
|
|
|
|
<!-- Felix plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>${plugin.felix.maven-bundle-plugin}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>biz.aQute.bndlib</artifactId>
|
|
<version>${version.biz.aQute.bnd}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<!-- Karaf plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.karaf.tooling</groupId>
|
|
<artifactId>karaf-maven-plugin</artifactId>
|
|
<version>${version.org.apache.karaf}</version>
|
|
</plugin>
|
|
|
|
<!-- ServiceMix plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
<version>${plugin.servicemix.depends-maven-plugin}</version>
|
|
</plugin>
|
|
|
|
<!-- MojoHaus plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>${plugin.mojo.build-helper-maven-plugin}</version>
|
|
</plugin>
|
|
|
|
<!-- Other -->
|
|
|
|
<plugin>
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
<version>${plugin.sonatype.nexus-staging-maven-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<version>${plugin.mycila.license-maven-plugin}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.ops4j.tools.maven</groupId>
|
|
<artifactId>osgi-report-maven-plugin</artifactId>
|
|
<version>${plugin.ops4j.osgi-report-maven-plugin}</version>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!-- Core plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<configuration>
|
|
<escapeString>\</escapeString>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Tools -->
|
|
|
|
<!-- Require maven 3.3 or above, Java 1.8 or above. -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.commonjava.maven.enforcer</groupId>
|
|
<artifactId>enforce-managed-deps-rule</artifactId>
|
|
<version>${plugin.dependency.org.commonjava.maven.enforcer}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<id>enforce-maven</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>enforce</goal>
|
|
</goals>
|
|
<configuration>
|
|
<rules>
|
|
<banDuplicatePomDependencyVersions />
|
|
<requirePluginVersions>
|
|
<banSnapshots>false</banSnapshots>
|
|
</requirePluginVersions>
|
|
<requireMavenVersion>
|
|
<version>[3.3.9,4)</version>
|
|
</requireMavenVersion>
|
|
<requireJavaVersion>
|
|
<version>[1.8,)</version>
|
|
</requireJavaVersion>
|
|
<requireManagedDeps implementation="org.commonjava.maven.enforcer.rule.EnforceManagedDepsRule">
|
|
<checkProfiles>false</checkProfiles>
|
|
<failOnViolation>true</failOnViolation>
|
|
</requireManagedDeps>
|
|
</rules>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Felix plugins -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<obrRepository>NONE</obrRepository>
|
|
<instructions>
|
|
<Bundle-DocURL>${project.url}</Bundle-DocURL>
|
|
<_include>-osgi.bnd</_include>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<!-- pax-jdbc own artifacts -->
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-config</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-db2</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-derbyclient</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-derby</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-hsqldb</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-jtds</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-mariadb</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-mysql</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-oracle</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-aries</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-c3p0</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-dbcp2</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-hikaricp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-narayana</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-pool-transx</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-sqlite</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-teradata</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.jdbc</groupId>
|
|
<artifactId>pax-jdbc-features</artifactId>
|
|
<version>${project.version}</version>
|
|
<classifier>features</classifier>
|
|
<type>xml</type>
|
|
</dependency>
|
|
|
|
<!-- OPS4J dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.transx</groupId>
|
|
<artifactId>pax-transx-jdbc</artifactId>
|
|
<version>${version.org.ops4j.pax.transx}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.swissbox</groupId>
|
|
<artifactId>pax-swissbox-core</artifactId>
|
|
<version>${version.org.ops4j.pax.swissbox}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.swissbox</groupId>
|
|
<artifactId>pax-swissbox-tracker</artifactId>
|
|
<version>${version.org.ops4j.pax.swissbox}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.base</groupId>
|
|
<artifactId>ops4j-base-lang</artifactId>
|
|
<version>${version.org.ops4j.base}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.base</groupId>
|
|
<artifactId>ops4j-base-spi</artifactId>
|
|
<version>${version.org.ops4j.base}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
<artifactId>pax-exam-junit4</artifactId>
|
|
<version>${version.org.ops4j.pax.exam}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
<artifactId>bndlib</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
<artifactId>pax-exam</artifactId>
|
|
<version>${version.org.ops4j.pax.exam}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
<artifactId>pax-exam-cm</artifactId>
|
|
<version>${version.org.ops4j.pax.exam}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
<artifactId>pax-exam-container-native</artifactId>
|
|
<version>${version.org.ops4j.pax.exam}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
<artifactId>pax-exam-container-karaf</artifactId>
|
|
<version>${version.org.ops4j.pax.exam}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.exam</groupId>
|
|
<artifactId>pax-exam-link-mvn</artifactId>
|
|
<version>${version.org.ops4j.pax.exam}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
<artifactId>pax-url-aether</artifactId>
|
|
<version>${version.org.ops4j.pax.url}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
<artifactId>pax-url-classpath</artifactId>
|
|
<version>${version.org.ops4j.pax.url}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
<artifactId>pax-url-link</artifactId>
|
|
<version>${version.org.ops4j.pax.url}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
<artifactId>pax-url-wrap</artifactId>
|
|
<version>${version.org.ops4j.pax.url}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.logging</groupId>
|
|
<artifactId>pax-logging-api</artifactId>
|
|
<version>${version.org.ops4j.pax.logging}</version>
|
|
</dependency>
|
|
|
|
<!-- OSGi -->
|
|
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>osgi.core</artifactId>
|
|
<version>${version.org.osgi}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>osgi.cmpn</artifactId>
|
|
<version>${version.org.osgi}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<!-- The JDBC service interface is available also from org.osgi:osgi.cmpn -->
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.service.jdbc</artifactId>
|
|
<version>${version.org.osgi.service.jdbc}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.framework</artifactId>
|
|
<version>${version.org.apache.felix.framework}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.configadmin</artifactId>
|
|
<version>${version.org.apache.felix.configadmin}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>org.apache.felix.metatype</artifactId>
|
|
<version>${version.org.apache.felix.metatype}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.aries</groupId>
|
|
<artifactId>org.apache.aries.util</artifactId>
|
|
<version>${version.org.apache.aries.util}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.aries.transaction</groupId>
|
|
<artifactId>org.apache.aries.transaction.jdbc</artifactId>
|
|
<version>${version.org.apache.aries.transaction.jdbc}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.aries.transaction</groupId>
|
|
<artifactId>org.apache.aries.transaction.manager</artifactId>
|
|
<version>${version.org.apache.aries.transaction.manager}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
<artifactId>org.apache.karaf.features.core</artifactId>
|
|
<version>${version.org.apache.karaf}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
<artifactId>standard</artifactId>
|
|
<version>${version.org.apache.karaf}</version>
|
|
<classifier>features</classifier>
|
|
<type>xml</type>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.karaf.features</groupId>
|
|
<artifactId>framework</artifactId>
|
|
<version>${version.org.apache.karaf}</version>
|
|
<type>kar</type>
|
|
</dependency>
|
|
|
|
<!-- APIs -->
|
|
|
|
<dependency>
|
|
<groupId>javax.transaction</groupId>
|
|
<artifactId>javax.transaction-api</artifactId>
|
|
<version>${version.javax.transaction}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.enterprise</groupId>
|
|
<artifactId>cdi-api</artifactId>
|
|
<version>${version.javax.enterprise.cdi}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.el</groupId>
|
|
<artifactId>jakarta.el-api</artifactId>
|
|
<version>${version.jakarta.el}</version>
|
|
</dependency>
|
|
<!--
|
|
Exclusions are needed before https://github.com/eclipse-ee4j/interceptor-api/issues/31
|
|
which is fixed in jakarta.interceptor-api-1.2.6
|
|
-->
|
|
<dependency>
|
|
<groupId>javax.interceptor</groupId>
|
|
<artifactId>javax.interceptor-api</artifactId>
|
|
<version>${version.javax.interceptor}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.annotation</groupId>
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.ejb</groupId>
|
|
<artifactId>javax.ejb-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>${version.javax.validation}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-j2ee-connector_1.6_spec</artifactId>
|
|
<version>${version.org.apache.geronimo.specs.j2ee-connector_1.6}</version>
|
|
</dependency>
|
|
|
|
<!-- Apache components -->
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
<version>${version.org.apache.commons.dbcp2}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>${version.org.apache.commons.pool2}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.geronimo.components</groupId>
|
|
<artifactId>geronimo-connector</artifactId>
|
|
<version>${version.org.apache.geronimo.connector}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
<artifactId>geronimo-validation_1.0_spec</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!--JBoss components -->
|
|
|
|
<dependency>
|
|
<groupId>org.jboss</groupId>
|
|
<artifactId>jboss-transaction-spi</artifactId>
|
|
<version>${version.org.jboss.jboss-transaction-spi}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.jboss.spec.javax.resource</groupId>
|
|
<artifactId>jboss-connector-api_1.7_spec</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.jboss.spec.javax.transaction</groupId>
|
|
<artifactId>jboss-transaction-api_1.2_spec</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jboss.narayana.osgi</groupId>
|
|
<artifactId>narayana-osgi-jta</artifactId>
|
|
<version>${version.org.jboss.narayana}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.narayana.jta</groupId>
|
|
<artifactId>jta</artifactId>
|
|
<version>${version.org.jboss.narayana}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jboss.narayana.jts</groupId>
|
|
<artifactId>narayana-jts-integration</artifactId>
|
|
<version>${version.org.jboss.narayana}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jboss.logging</groupId>
|
|
<artifactId>jboss-logging</artifactId>
|
|
<version>${version.org.jboss.logging}</version>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${version.junit}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${version.org.mockito}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.objenesis</groupId>
|
|
<artifactId>objenesis</artifactId>
|
|
<version>${version.org.objenesis}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.bytebuddy</groupId>
|
|
<artifactId>byte-buddy</artifactId>
|
|
<version>${version.net.bytebuddy}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.bytebuddy</groupId>
|
|
<artifactId>byte-buddy-agent</artifactId>
|
|
<version>${version.net.bytebuddy}</version>
|
|
</dependency>
|
|
|
|
<!-- Logging dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${version.org.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${version.org.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>${version.org.apache.logging.log4j}</version>
|
|
</dependency>
|
|
|
|
<!-- JDBC drivers -->
|
|
|
|
<dependency>
|
|
<groupId>org.apache.derby</groupId>
|
|
<artifactId>derby</artifactId>
|
|
<version>${version.org.apache.derby}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.derby</groupId>
|
|
<artifactId>derbynet</artifactId>
|
|
<version>${version.org.apache.derby}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.derby</groupId>
|
|
<artifactId>derbyclient</artifactId>
|
|
<version>${version.org.apache.derby}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.xerial</groupId>
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
<version>${version.org.xerial.sqlite}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>${version.com.h2database}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<version>${version.org.hsqldb}</version>
|
|
<classifier>jdk8</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sourceforge.jtds</groupId>
|
|
<artifactId>jtds</artifactId>
|
|
<version>${version.net.sourceforge.jtds}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>${version.org.postgresql}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<version>${version.com.mysql}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mariadb.jdbc</groupId>
|
|
<artifactId>mariadb-java-client</artifactId>
|
|
<version>${version.org.mariadb.jdbc}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>${version.com.microsoft.sqlserver.jdbc}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.oracle.database.jdbc</groupId>
|
|
<artifactId>ojdbc8</artifactId>
|
|
<version>${version.com.oracle.database.jdbc}</version>
|
|
</dependency>
|
|
|
|
<!-- Other dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>org.apache.servicemix.bundles</groupId>
|
|
<artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
|
|
<version>${version.org.apache.servicemix.bundles.javax-inject}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.servicemix.bundles</groupId>
|
|
<artifactId>org.apache.servicemix.bundles.jasypt</artifactId>
|
|
<version>${version.org.apache.servicemix.bundles.jasypt}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.servicemix.bundles</groupId>
|
|
<artifactId>org.apache.servicemix.bundles.cglib</artifactId>
|
|
<version>${version.org.apache.servicemix.bundles.cglib}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.servicemix.bundles</groupId>
|
|
<artifactId>org.apache.servicemix.bundles.c3p0</artifactId>
|
|
<version>${version.org.apache.servicemix.bundles.c3p0}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
<version>${version.com.zaxxer.hikari}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
<goal>test-jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<doclint>none</doclint>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
<goal>test-javadoc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<doclint>none</doclint>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<!-- Checkstyle: `mvn -Pcs validate` -->
|
|
<profile>
|
|
<id>cs</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>verify-style</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
<configuration>
|
|
<configLocation>pax-jdbc-checks.xml</configLocation>
|
|
<suppressionsLocation>pax-jdbc-checks-suppressions.xml</suppressionsLocation>
|
|
<includes>**/*.java</includes>
|
|
<inputEncoding>UTF-8</inputEncoding>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failsOnError>true</failsOnError>
|
|
<failOnViolation>true</failOnViolation>
|
|
<logViolationsToConsole>true</logViolationsToConsole>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
<!-- <violationSeverity>warning</violationSeverity>-->
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>${plugin.dependency.com.puppycrawl.tools.checkstyle}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<!-- License generation: `mvn -Plicense process-sources` -->
|
|
<profile>
|
|
<id>license</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
<useDefaultExcludes>true</useDefaultExcludes>
|
|
<header>license-header.txt</header>
|
|
<includes>
|
|
<include>src/main/java/**/*.java</include>
|
|
<include>src/test/java/**/*.java</include>
|
|
<!--<include>**/README</include>-->
|
|
<include>pom.xml</include>
|
|
<include>**/*.xml</include>
|
|
<include>**/*.cfg</include>
|
|
<include>**/*.properties</include>
|
|
</includes>
|
|
<excludes />
|
|
<mapping>
|
|
<!--<README>SCRIPT_STYLE</README>-->
|
|
<cfg>SCRIPT_STYLE</cfg>
|
|
</mapping>
|
|
<headerDefinitions>
|
|
<headerDefinition>license-headers.xml</headerDefinition>
|
|
</headerDefinitions>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>license-format</id>
|
|
<phase>process-sources</phase>
|
|
<goals>
|
|
<goal>format</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>license-check</id>
|
|
<!-- This is the phase this plugin runs by default. Just an explicit information -->
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>report</id>
|
|
<modules>
|
|
<module>pax-jdbc-report</module>
|
|
</modules>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|