| <?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"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>cayenne-parent</artifactId> |
| <groupId>org.apache.cayenne</groupId> |
| <name>cayenne-parent: Top-level parent of Cayenne modules</name> |
| |
| <version>4.0.4-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <description> |
| Apache Cayenne is a powerful, full-featured, and open source |
| Java framework, plus developer tools, that provides Object |
| Relational Mapping (ORM) and remoting services for persistence. |
| The software is licensed under the Apache License. |
| </description> |
| |
| <properties> |
| <maven.build.timestamp.format>MMM dd yyyy HH:mm:ss</maven.build.timestamp.format> |
| <project.build.datetime>${maven.build.timestamp}</project.build.datetime> |
| <jacoco.version>0.7.1.201405082137</jacoco.version> |
| <slf4j.version>1.7.25</slf4j.version> |
| |
| <pmd.skip>true</pmd.skip> |
| <checkstyle.skip>true</checkstyle.skip> |
| <findbugs.skip>true</findbugs.skip> |
| |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| </properties> |
| |
| <url>https://cayenne.apache.org/</url> |
| <modules> |
| <module>build-tools</module> |
| <module>cayenne-ant</module> |
| <module>cayenne-cache-invalidation</module> |
| <module>cayenne-cgen</module> |
| <module>cayenne-client</module> |
| <module>cayenne-commitlog</module> |
| <module>cayenne-crypto</module> |
| <module>cayenne-dbcp2</module> |
| <module>cayenne-dbsync</module> |
| <module>cayenne-di</module> |
| <module>cayenne-gradle-plugin</module> |
| <module>cayenne-jcache</module> |
| <module>cayenne-joda</module> |
| <module>cayenne-lifecycle</module> |
| <module>cayenne-project</module> |
| <module>cayenne-server</module> |
| <module>eventbridges</module> |
| <module>itests</module> |
| <module>maven-plugins</module> |
| <module>modeler</module> |
| <module>tutorials</module> |
| <module>docs</module> |
| </modules> |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/CAY</url> |
| </issueManagement> |
| <inceptionYear>2001</inceptionYear> |
| <mailingLists> |
| <mailingList> |
| <name>Cayenne User List</name> |
| <post>user@cayenne.apache.org</post> |
| <subscribe>user-subscribe@cayenne.apache.org</subscribe> |
| <unsubscribe>user-unsubscribe@cayenne.apache.org</unsubscribe> |
| <archive>https://lists.apache.org/list.html?user@cayenne.apache.org</archive> |
| </mailingList> |
| <mailingList> |
| <name>Cayenne Developer List</name> |
| <post>dev@cayenne.apache.org</post> |
| <subscribe>dev-subscribe@cayenne.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@cayenne.apache.org</unsubscribe> |
| <archive>https://lists.apache.org/list.html?dev@cayenne.apache.org</archive> |
| </mailingList> |
| <mailingList> |
| <name>Cayenne Commits</name> |
| <subscribe>commits-subscribe@cayenne.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@cayenne.apache.org</unsubscribe> |
| <archive>https://lists.apache.org/list.html?commits@cayenne.apache.org</archive> |
| </mailingList> |
| </mailingLists> |
| <developers> |
| <developer> |
| <id>andrus</id> |
| <name>Andrus Adamchik</name> |
| <email>andrus@objectstyle.org</email> |
| <organization>ObjectStyle</organization> |
| <roles> |
| <role>PMC, Chair</role> |
| </roles> |
| <timezone>-5</timezone> |
| </developer> |
| <developer> |
| <id>bdudney</id> |
| <name>Bill Dudney</name> |
| <email>bdudney@apache.org</email> |
| <organization>Virtuas</organization> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| <timezone>-7</timezone> |
| </developer> |
| <developer> |
| <name>Cris Daniluk</name> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Malcolm Edgar</name> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Michael Gentry</name> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Tore Halset</name> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Mike Kienenberger</name> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| </developer> |
| <developer> |
| <name>Kevin Menard</name> |
| <email>kmenard@apache.org</email> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| <timezone>-5</timezone> |
| </developer> |
| <developer> |
| <id>amaniatis</id> |
| <name>Aristedes Maniatis</name> |
| <email>ari@ish.com.au</email> |
| <organization>ish</organization> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| <timezone>+10</timezone> |
| </developer> |
| <developer> |
| <id>andrey</id> |
| <name>Andrey Razumovsky</name> |
| <email>andrey@apache.org</email> |
| <roles> |
| <role>PMC, Member</role> |
| </roles> |
| <timezone>+3</timezone> |
| </developer> |
| <developer> |
| <name>Olga Tkachova</name> |
| <organization>ObjectStyle</organization> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>evgeny</id> |
| <name>Evgeny Ryabitskiy</name> |
| <organization>Diasoft</organization> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+3</timezone> |
| </developer> |
| <developer> |
| <id>dkazimirchyk</id> |
| <name>Dzmitry Kazimirchyk</name> |
| <email>dkazimirchyk@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>johnthuss</id> |
| <name>John Huss</name> |
| <email>johnthuss@apache.org</email> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| </developer> |
| <developer> |
| <id>kolonitsky</id> |
| <name>Alex Kolonitsky</name> |
| <email>kolonitsky@apache.org</email> |
| <organization>ObjectStyle</organization> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+3</timezone> |
| </developer> |
| <developer> |
| <id>skolbachev</id> |
| <name>Savva Kolbachev</name> |
| <email>skolbachev@apache.org</email> |
| <organization>ObjectStyle</organization> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+3</timezone> |
| </developer> |
| <developer> |
| <id>ntimofeev</id> |
| <name>Nikita Timofeev</name> |
| <email>ntimofeev@apache.org</email> |
| <organization>ObjectStyle</organization> |
| <roles> |
| <role>Committer</role> |
| </roles> |
| <timezone>+3</timezone> |
| </developer> |
| </developers> |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/cayenne.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/cayenne.git</developerConnection> |
| <url>https://github.com/apache/cayenne</url> |
| <tag>HEAD</tag> |
| </scm> |
| <organization> |
| <name>Apache Cayenne</name> |
| <url>https://cayenne.apache.org/</url> |
| </organization> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.9.4</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>xerces</groupId> |
| <artifactId>xerces</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant-junit</artifactId> |
| <version>1.6.5</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>xerces</groupId> |
| <artifactId>xerces</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-dbcp2</artifactId> |
| <version>2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-pool2</artifactId> |
| <version>2.4.2</version> |
| </dependency> |
| <dependency> |
| <groupId>com.caucho</groupId> |
| <artifactId>hessian</artifactId> |
| <version>4.0.38</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.jgoodies</groupId> |
| <artifactId>forms</artifactId> |
| <version>1.2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.jgoodies</groupId> |
| <artifactId>jgoodies-looks</artifactId> |
| <version>2.7.0</version> |
| </dependency> |
| <dependency> |
| <groupId>mockrunner</groupId> |
| <artifactId>mockrunner</artifactId> |
| <version>0.4.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ognl</groupId> |
| <artifactId>ognl</artifactId> |
| <version>2.6.7</version> |
| </dependency> |
| <dependency> |
| <groupId>opensymphony</groupId> |
| <artifactId>oscache</artifactId> |
| <version>2.3.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.4</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| <version>1.2.6</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>xerces</groupId> |
| <artifactId>xerces</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-mock</artifactId> |
| <version>2.0.8</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.velocity</groupId> |
| <artifactId>velocity</artifactId> |
| <version>1.6.3</version> |
| </dependency> |
| <dependency> |
| <groupId>foundrylogic.vpp</groupId> |
| <artifactId>vpp</artifactId> |
| <version>2.2.1</version> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.jedit-syntax</groupId> |
| <artifactId>jedit-syntax</artifactId> |
| <version>2.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>jgraph</groupId> |
| <artifactId>jgraph</artifactId> |
| <version>5.13.0.0</version> |
| </dependency> |
| <dependency> |
| <groupId>net.java.dev.inflector</groupId> |
| <artifactId>inflector</artifactId> |
| <version>0.7.0</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>2.18.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.ehcache</groupId> |
| <artifactId>ehcache-core</artifactId> |
| <version>2.4.3</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>2.3.4</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>10.12.1.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>xmlunit</groupId> |
| <artifactId>xmlunit</artifactId> |
| <version>1.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>jgroups</groupId> |
| <artifactId>jgroups-all</artifactId> |
| <version>2.2.7</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>jivesoftware</groupId> |
| <artifactId>smack</artifactId> |
| <version>2.2.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>jivesoftware</groupId> |
| <artifactId>smackx</artifactId> |
| <version>2.2.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jms_1.1_spec</artifactId> |
| <version>1.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- Used only by crypto module for Java 7 compatibility --> |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <repositories> |
| <repository> |
| <id>objectstyle</id> |
| <name>ObjectStyle Repository</name> |
| <url>https://maven.objectstyle.org/repos/cayenne-deps/</url> |
| <layout>default</layout> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>objectstyle</id> |
| <name>ObjectStyle repository</name> |
| <url>https://maven.objectstyle.org/repos/cayenne-deps/</url> |
| <layout>default</layout> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </pluginRepository> |
| </pluginRepositories> |
| <build> |
| <defaultGoal>install</defaultGoal> |
| |
| <extensions> |
| <extension> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-ssh</artifactId> |
| <version>1.0-beta-7</version> |
| </extension> |
| </extensions> |
| |
| <pluginManagement> |
| <plugins> |
| <!-- M2Eclipse configuration. Has no effect for command line builds --> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>com.agilejava.docbkx</groupId> |
| <artifactId>docbkx-maven-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>generate-pdf</goal> |
| <goal>generate-html</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>bundle</goal> |
| <goal>process</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>dependency-maven-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>javadoc</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.objectstyle.japp</groupId> |
| <artifactId>japp-maven-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>japp</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javacc-maven-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>jjtree-javacc</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.cayenne.plugins</groupId> |
| <artifactId>cayenne-maven-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>cgen</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <versionRange>[1.0,)</versionRange> |
| <goals> |
| <goal>descriptor</goal> |
| </goals> |
| </pluginExecutionFilter> |
| <action> |
| <ignore /> |
| </action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>3.3</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.4.3</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.6.1</version> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.0-beta-1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.3.1</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.1.2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2-beta-5</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.21.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.21.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>taglist-maven-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-remote-resources-plugin</artifactId> |
| <version>1.5</version> |
| <configuration> |
| <outputDirectory> |
| ${project.build.directory}/classes |
| </outputDirectory> |
| <resourceBundles> |
| <resourceBundle> |
| org.apache.cayenne.build-tools:cayenne-legal:${project.version} |
| </resourceBundle> |
| </resourceBundles> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.0.1</version> |
| <configuration> |
| <!-- Java 8 is too strict about Javadoc omissions --> |
| <doclint>${javadoc.doclint}</doclint> |
| <source>1.7</source> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>dependency-maven-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.11</version> |
| </plugin> |
| <plugin> |
| <groupId>org.objectstyle.japp</groupId> |
| <artifactId>japp-maven-plugin</artifactId> |
| <version>3.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.21.0</version> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>0.39.0</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>bundle-source-jar</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine> |
| -DcayenneTestConnection=${cayenneTestConnection} -Djava.net.preferIPv4Stack=true -Dcayenne.runtime.db.collation.assume.ci=${collationCi} |
| </argLine> |
| <systemPropertyVariables> |
| <property> |
| <name>cayenneAdapter</name> |
| <value>${cayenneAdapter}</value> |
| </property> |
| <property> |
| <name>cayenneJdbcUsername</name> |
| <value>${cayenneJdbcUsername}</value> |
| </property> |
| <property> |
| <name>cayenneJdbcPassword</name> |
| <value>${cayenneJdbcPassword}</value> |
| </property> |
| <property> |
| <name>cayenneJdbcUrl</name> |
| <value>${cayenneJdbcUrl}</value> |
| </property> |
| <property> |
| <name>cayenneJdbcDriver</name> |
| <value>${cayenneJdbcDriver}</value> |
| </property> |
| <org.slf4j.simpleLogger.defaultLogLevel>${cayenneLogLevel}</org.slf4j.simpleLogger.defaultLogLevel> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <org.slf4j.simpleLogger.defaultLogLevel>${cayenneLogLevel}</org.slf4j.simpleLogger.defaultLogLevel> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <!-- TOOD move to release plugin --> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/target</exclude> |
| <exclude>**/build</exclude> |
| <exclude>**/.*</exclude> |
| <exclude>**/.*/**</exclude> |
| |
| <exclude>**/cayenne-*.xml</exclude> |
| <exclude>**/cayenne.xml</exclude> |
| <exclude>**/*.map.xml</exclude> |
| <exclude>**/_*.java</exclude> |
| <exclude>**/*.html</exclude> |
| <exclude>**/*.css</exclude> |
| <exclude>**/*.driver.xml</exclude> |
| |
| <exclude>**/test/**/ks1.jceks</exclude> |
| <exclude>**/test/**/plain.txt</exclude> |
| |
| <exclude>**/DiagramLayout</exclude> |
| <exclude>**/*.plist</exclude> |
| <exclude>**/*.eomodeld</exclude> |
| <exclude>**/*.fspec</exclude> |
| |
| <exclude>**/*.log</exclude> |
| <exclude>**/*.iml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <distributionManagement> |
| <repository> |
| <id>apache-releases</id> |
| <name>Apache Release Distribution Repository</name> |
| <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| </distributionManagement> |
| |
| <profiles> |
| <profile> |
| <id>code-quality</id> |
| |
| <activation> |
| <property> |
| <name>!fast-and-dirty</name> |
| </property> |
| </activation> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.9.1</version> |
| <configuration> |
| <skip>${checkstyle.skip}</skip> |
| <consoleOutput>true</consoleOutput> |
| <enableRulesSummary>false</enableRulesSummary> |
| <failOnViolation>false</failOnViolation> |
| <!-- TODO make it 'true' when we will be ready --> |
| <violationSeverity>warning</violationSeverity> |
| <configLocation>/cayenne-checkstyle.xml</configLocation> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cayenne.build-tools</groupId> |
| <artifactId>cayenne-checkers</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.2</version> |
| <configuration> |
| <skip>${pmd.skip}</skip> |
| <sourceEncoding>utf-8</sourceEncoding> |
| <targetJdk>1.7</targetJdk> |
| <verbose>true</verbose> |
| <failOnViolation>false</failOnViolation> |
| <!-- TODO make it 'true' when we will be ready --> |
| <failurePriority>2</failurePriority> |
| <rulesets> |
| <!-- go back on one dir to parent project --> |
| <ruleset>/cayenne-pmd.xml</ruleset> |
| </rulesets> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cayenne.build-tools</groupId> |
| <artifactId>cayenne-checkers</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.5</version> |
| <configuration> |
| <effort>Max</effort> |
| <!-- do max effort at CI Server --> |
| <threshold>Low</threshold> |
| <!-- make it 'low' at CI Server --> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>clirr-maven-plugin</artifactId> |
| <version>2.6.1</version> |
| <configuration> |
| <comparisonVersion>3.1RC1</comparisonVersion> |
| <minSeverity>info</minSeverity> |
| <logResults>true</logResults> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jdepend-maven-plugin</artifactId> |
| <version>2.0</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <inherited>true</inherited> |
| </plugin> |
| <plugin> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <inherited>true</inherited> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <configuration> |
| <effort>Max</effort> |
| <threshold>Low</threshold> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jdepend-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>clirr-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| </profile> |
| <profile> |
| <id>tests-development</id> |
| <activation> |
| <property> |
| <name>tests-development</name> |
| </property> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine> |
| -DcayenneTestConnection=${cayenneTestConnection} -Djava.net.preferIPv4Stack=true -Dcayenne.runtime.db.collation.assume.ci=${collationCi} ${surefireArgLine} |
| </argLine> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>report-only</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco.version}</version> |
| <executions> |
| <!-- |
| Prepares the property pointing to the JaCoCo runtime agent which |
| is passed as VM argument when Maven the Surefire plugin is executed. |
| --> |
| <execution> |
| <id>pre-unit-test</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <!-- Sets the path to the file which contains the execution data. --> |
| <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile> |
| <!-- |
| Sets the name of the property containing the settings |
| for JaCoCo runtime agent. |
| --> |
| <propertyName>surefireArgLine</propertyName> |
| </configuration> |
| </execution> |
| <!-- |
| Ensures that the code coverage report for unit tests is created after |
| unit tests have been run. |
| --> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <!-- Sets the path to the file which contains the execution data. --> |
| <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile> |
| <!-- Sets the output directory for the code coverage report. --> |
| <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <!-- Optional profile used to sign artifacts --> |
| <profile> |
| <id>gpg</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <!-- DB profiles .. |
| HSQL is used if no DB profile property is set explicitly. |
| Also there's a separate 'hsql' profile. |
| --> |
| <profile> |
| <id>default-db</id> |
| <activation> |
| <property> |
| <name>!cayenneTestConnection</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>2.3.4</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>hsql</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>hsql</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>2.3.4</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>firebird</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>firebird</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.firebirdsql.jdbc</groupId> |
| <artifactId>jaybird-jdk17</artifactId> |
| <version>2.2.12</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>frontbase</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>frontbase</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.frontbase</groupId> |
| <artifactId>frontbase-driver</artifactId> |
| <version>4.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>openbase</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>openbase</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.openbase</groupId> |
| <artifactId>openbase-driver</artifactId> |
| <version>9</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>h2</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>h2</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>1.3.175</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>mysql</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>mysql</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.28</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>mysql-docker</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>mysql-docker</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.28</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <!-- See https://hub.docker.com/_/mysql/ for details--> |
| <!-- ${db.host} and ${db.port} are dynamically set by docker-maven-plugin below --> |
| <cayenneAdapter>org.apache.cayenne.dba.mysql.MySQLAdapter</cayenneAdapter> |
| <cayenneJdbcUsername>root</cayenneJdbcUsername> |
| <cayenneJdbcPassword /> |
| <cayenneJdbcUrl>jdbc:mysql://${db.host}:${db.port}/cayenne?useUnicode=true&characterEncoding=UTF-8&generateSimpleParameterMetadata=true</cayenneJdbcUrl> |
| <cayenneJdbcDriver>com.mysql.jdbc.Driver</cayenneJdbcDriver> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <configuration> |
| <images> |
| <image> |
| <alias>db</alias> |
| <name>mysql:5.7</name> |
| <run> |
| <ports> |
| <port>${db.host}:${db.port}:3306</port> |
| </ports> |
| <wait> |
| <log>MySQL init process done. Ready for start up.</log> |
| <time>60000</time> |
| </wait> |
| <env> |
| <MYSQL_ALLOW_EMPTY_PASSWORD>yes</MYSQL_ALLOW_EMPTY_PASSWORD> |
| <MYSQL_DATABASE>cayenne</MYSQL_DATABASE> |
| </env> |
| <cmd> |
| --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci |
| </cmd> |
| </run> |
| </image> |
| </images> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>mariadb-docker</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>mariadb-docker</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>mysql</groupId> |
| <artifactId>mysql-connector-java</artifactId> |
| <version>5.1.42</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <!-- See https://hub.docker.com/_/mariadb/ for details--> |
| <!-- ${db.host} and ${db.port} are dynamically set by docker-maven-plugin below --> |
| <cayenneAdapter>org.apache.cayenne.dba.mysql.MySQLAdapter</cayenneAdapter> |
| <cayenneJdbcUsername>root</cayenneJdbcUsername> |
| <cayenneJdbcPassword /> |
| <cayenneJdbcUrl>jdbc:mysql://${db.host}:${db.port}/cayenne?useUnicode=true&characterEncoding=UTF-8&generateSimpleParameterMetadata=true&useSSL=false</cayenneJdbcUrl> |
| <cayenneJdbcDriver>com.mysql.jdbc.Driver</cayenneJdbcDriver> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <configuration> |
| <images> |
| <image> |
| <alias>db</alias> |
| <name>mariadb:10.4</name> |
| <run> |
| <ports> |
| <port>${db.host}:${db.port}:3306</port> |
| </ports> |
| <wait> |
| <log>MySQL init process done. Ready for start up.</log> |
| <time>60000</time> |
| </wait> |
| <env> |
| <MYSQL_ALLOW_EMPTY_PASSWORD>yes</MYSQL_ALLOW_EMPTY_PASSWORD> |
| <MYSQL_DATABASE>cayenne</MYSQL_DATABASE> |
| </env> |
| <cmd> |
| --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci |
| </cmd> |
| </run> |
| </image> |
| </images> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>oracle</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>oracle</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.oracle</groupId> |
| <artifactId>oracle-driver</artifactId> |
| <version>11</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>postgres</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>postgres</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>9.4.1212.jre7</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>postgres-docker</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>postgres-docker</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>9.4.1212.jre7</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <!-- Default user, password, and DB name is "postgres", see https://hub.docker.com/_/postgres/ --> |
| <!-- ${db.host} and ${db.port} are dynamically set by docker-maven-plugin below --> |
| <cayenneAdapter>org.apache.cayenne.dba.postgres.PostgresAdapter</cayenneAdapter> |
| <cayenneJdbcUsername>postgres</cayenneJdbcUsername> |
| <cayenneJdbcPassword>postgres</cayenneJdbcPassword> |
| <cayenneJdbcUrl>jdbc:postgresql://${db.host}:${db.port}/postgres</cayenneJdbcUrl> |
| <cayenneJdbcDriver>org.postgresql.Driver</cayenneJdbcDriver> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <configuration> |
| <images> |
| <image> |
| <alias>db</alias> |
| <name>postgres:12</name> |
| <run> |
| <env> |
| <POSTGRES_HOST_AUTH_METHOD>trust</POSTGRES_HOST_AUTH_METHOD> |
| </env> |
| <ports> |
| <port>${db.host}:${db.port}:5432</port> |
| </ports> |
| <wait> |
| <log>PostgreSQL init process complete; ready for start up.</log> |
| <time>60000</time> |
| </wait> |
| </run> |
| </image> |
| </images> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>sqlserver-docker</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>sqlserver-docker</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.microsoft.sqlserver</groupId> |
| <artifactId>mssql-jdbc</artifactId> |
| <version>6.1.0.jre7</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <!-- ${db.host} and ${db.port} are dynamically set by docker-maven-plugin below --> |
| <cayenneAdapter>org.apache.cayenne.dba.sqlserver.SQLServerAdapter</cayenneAdapter> |
| <cayenneJdbcUsername>sa</cayenneJdbcUsername> |
| <cayenneJdbcPassword>Cayenne#123</cayenneJdbcPassword> |
| <cayenneJdbcUrl>jdbc:sqlserver://${sqlserver.host}:${sqlserver.port};</cayenneJdbcUrl> |
| <cayenneJdbcDriver>com.microsoft.sqlserver.jdbc.SQLServerDriver</cayenneJdbcDriver> |
| <cayenne.runtime.db.collation.assume.ci>true</cayenne.runtime.db.collation.assume.ci> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>io.fabric8</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <configuration> |
| <verbose>true</verbose> |
| <images> |
| <image> |
| <alias>sqlserver</alias> |
| <name>mcr.microsoft.com/mssql/server:2017-latest</name> |
| <run> |
| <ports> |
| <port>${sqlserver.host}:${sqlserver.port}:1433</port> |
| </ports> |
| <env> |
| <ACCEPT_EULA>Y</ACCEPT_EULA> |
| <SA_PASSWORD>Cayenne#123</SA_PASSWORD> |
| </env> |
| <wait> |
| <log>SQL Server is now ready for client connections.</log> |
| <time>60000</time> |
| </wait> |
| <cmd>/opt/mssql/bin/sqlservr</cmd> |
| </run> |
| </image> |
| </images> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>derby</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>derby</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>sqlserver</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>sqlserver</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.microsoft.sqlserver</groupId> |
| <artifactId>mssql-jdbc</artifactId> |
| <version>6.1.0.jre7</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>ingres</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>ingres</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.ingres</groupId> |
| <artifactId>ingres-driver</artifactId> |
| <version>4.0.7</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>sybase</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>sybase</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.sybase</groupId> |
| <artifactId>sybase-driver</artifactId> |
| <version>12</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>sqlite</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>sqlite</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.xerial</groupId> |
| <artifactId>sqlite-jdbc</artifactId> |
| <version>3.15.1</version> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>db2</id> |
| <activation> |
| <property> |
| <name>cayenneTestConnection</name> |
| <value>db2</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.ibm.db2</groupId> |
| <artifactId>db2-driver</artifactId> |
| <version>1.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>java8-disable-strict-javadoc</id> |
| <activation> |
| <jdk>[1.8,)</jdk> |
| </activation> |
| <properties> |
| <javadoc.doclint>none</javadoc.doclint> |
| </properties> |
| </profile> |
| <profile> |
| <id>java9-javadoc-html5</id> |
| <activation> |
| <jdk>[9,)</jdk> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <doclint>none</doclint> |
| <additionalOptions> |
| <additionalOption>-html5</additionalOption> |
| </additionalOptions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>cayenne-java8-module-to-build</id> |
| <activation> |
| <jdk>[1.8,)</jdk> |
| </activation> |
| <modules> |
| <module>cayenne-java8</module> |
| <module>cayenne-client-jetty</module> |
| <module>cayenne-protostuff</module> |
| <module>assembly</module> |
| </modules> |
| </profile> |
| </profiles> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.20.1</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| </project> |