479 lines
14 KiB
XML
479 lines
14 KiB
XML
|
<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/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<groupId>net.forwardfire.tpquery</groupId>
|
||
|
<artifactId>tpquery</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<packaging>pom</packaging>
|
||
|
<name>tpquery</name>
|
||
|
<description>TemplatedPreparedQuery</description>
|
||
|
<inceptionYear>2007</inceptionYear>
|
||
|
<organization>
|
||
|
<name>ForwardFire.net</name>
|
||
|
<url>http://www.forwardfire.net/</url>
|
||
|
</organization>
|
||
|
<licenses>
|
||
|
<license>
|
||
|
<name>BSD License</name>
|
||
|
<url>license.txt</url>
|
||
|
<distribution>repo</distribution>
|
||
|
<comments>BSD 2-Clause License</comments>
|
||
|
</license>
|
||
|
</licenses>
|
||
|
<prerequisites>
|
||
|
<maven>3.0.1</maven>
|
||
|
</prerequisites>
|
||
|
<modules>
|
||
|
<module>tpquery-executor-jdbc</module>
|
||
|
<module>tpquery-executor-jpa</module>
|
||
|
<module>tpquery-store</module>
|
||
|
</modules>
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.build.sourceVersion>1.8</project.build.sourceVersion>
|
||
|
</properties>
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<version>1.7.12</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-lang3</artifactId>
|
||
|
<version>3.4</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.12</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>ch.qos.logback</groupId>
|
||
|
<artifactId>logback-classic</artifactId>
|
||
|
<version>1.1.3</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.h2database</groupId>
|
||
|
<artifactId>h2</artifactId>
|
||
|
<version>1.4.187</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>postgresql</groupId>
|
||
|
<artifactId>postgresql</artifactId>
|
||
|
<version>9.1-901-1.jdbc4</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hibernate</groupId>
|
||
|
<artifactId>hibernate-entitymanager</artifactId>
|
||
|
<version>5.0.0.Beta2</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.hibernate</groupId>
|
||
|
<artifactId>hibernate-validator</artifactId>
|
||
|
<version>5.2.0.CR1</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.tomcat</groupId>
|
||
|
<artifactId>tomcat-jasper-el</artifactId>
|
||
|
<version>8.0.23</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>javax</groupId>
|
||
|
<artifactId>javaee-api</artifactId>
|
||
|
<version>7.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.codehaus.sonar-plugins.java</groupId>
|
||
|
<artifactId>sonar-jacoco-listeners</artifactId>
|
||
|
<version>3.2</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>ch.qos.logback</groupId>
|
||
|
<artifactId>logback-classic</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.h2database</groupId>
|
||
|
<artifactId>h2</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>postgresql</groupId>
|
||
|
<artifactId>postgresql</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
<build>
|
||
|
<pluginManagement>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||
|
<version>1.8</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.0</version>
|
||
|
<configuration>
|
||
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||
|
<source>${project.build.sourceVersion}</source>
|
||
|
<target>${project.build.sourceVersion}</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-source-plugin</artifactId>
|
||
|
<version>2.2.1</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>attach-sources</id>
|
||
|
<goals>
|
||
|
<goal>jar</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-site-plugin</artifactId>
|
||
|
<version>3.4</version>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.maven.doxia</groupId>
|
||
|
<artifactId>doxia-module-markdown</artifactId>
|
||
|
<version>1.6</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||
|
<version>2.8</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||
|
<version>2.10.3</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-pmd-plugin</artifactId>
|
||
|
<version>3.4</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>findbugs-maven-plugin</artifactId>
|
||
|
<version>3.0.0</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||
|
<version>2.15</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>taglist-maven-plugin</artifactId>
|
||
|
<version>2.4</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>2.18.1</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
||
|
<version>2.18.1</version>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.jacoco</groupId>
|
||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||
|
<version>0.7.4.201502262128</version>
|
||
|
<!-- invalid format 1007: <version>0.7.5.201505241946</version> -->
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</pluginManagement>
|
||
|
</build>
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>tpquery-test-none</id>
|
||
|
<properties>
|
||
|
<skipTests>true</skipTests>
|
||
|
</properties>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<id>tpquery-test-jacoco</id>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<properties>
|
||
|
<property>
|
||
|
<name>listener</name>
|
||
|
<value>org.sonar.java.jacoco.JUnitListener</value>
|
||
|
</property>
|
||
|
</properties>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.jacoco</groupId>
|
||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>jacoco-prepare-agent</id>
|
||
|
<phase>initialize</phase>
|
||
|
<inherited>true</inherited>
|
||
|
<goals>
|
||
|
<goal>prepare-agent</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.codehaus.sonar-plugins.java</groupId>
|
||
|
<artifactId>sonar-jacoco-listeners</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<id>tpquery-test-jacoco-merge</id>
|
||
|
<!-- mvn -X -Ptpquery-test-jacoco-merge jacoco:merge but is not working
|
||
|
in site :( -->
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.jacoco</groupId>
|
||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<append>true</append>
|
||
|
<destFile>../target/jacoco.exec</destFile>
|
||
|
<fileSets>
|
||
|
<fileSets>
|
||
|
<directory>${project.build.directory}</directory>
|
||
|
<includes>
|
||
|
<include>*.exec</include>
|
||
|
</includes>
|
||
|
</fileSets>
|
||
|
</fileSets>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<id>tpquery-build</id>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-source-plugin</artifactId>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<id>tpquery-build-site</id>
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-site-plugin</artifactId>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||
|
<dependencies><!-- fix for jdk8 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.maven.shared</groupId>
|
||
|
<artifactId>maven-shared-jar</artifactId>
|
||
|
<version>1.1</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.apache.bcel</groupId>
|
||
|
<artifactId>bcel</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.google.code.findbugs</groupId>
|
||
|
<artifactId>bcel-findbugs</artifactId>
|
||
|
<version>6.0</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>copy-project-markdown</id>
|
||
|
<phase>generate-sources</phase>
|
||
|
<inherited>false</inherited>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<target>
|
||
|
<echo>Copy project markdown to site.</echo>
|
||
|
<copy verbose="true" file="versions.md" todir="src/site/markdown" />
|
||
|
<copy verbose="true" file="todo.md" todir="src/site/markdown" />
|
||
|
<copy verbose="true" file="build.md" todir="src/site/markdown" />
|
||
|
</target>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
<reporting>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
|
||
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
||
|
</configuration>
|
||
|
<reportSets>
|
||
|
<reportSet>
|
||
|
<reports>
|
||
|
<!-- TODO: <report>cim</report> -->
|
||
|
<report>dependencies</report>
|
||
|
<report>dependency-convergence</report>
|
||
|
<report>dependency-info</report>
|
||
|
<report>dependency-management</report>
|
||
|
<!-- <report>distribution-management</report> -->
|
||
|
<!-- <report>help</report> -->
|
||
|
<!-- <report>index</report> -->
|
||
|
<report>issue-tracking</report>
|
||
|
<report>license</report>
|
||
|
<!-- TODO: <report>mailing-list</report> -->
|
||
|
<!-- <report>modules</report> -->
|
||
|
<report>plugin-management</report>
|
||
|
<report>plugins</report>
|
||
|
<!-- TODO:? <report>project-team</report> -->
|
||
|
<report>scm</report>
|
||
|
<report>summary</report>
|
||
|
</reports>
|
||
|
</reportSet>
|
||
|
</reportSets>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<quiet>true</quiet>
|
||
|
<linksource>true</linksource>
|
||
|
<maxmemory>512m</maxmemory>
|
||
|
<nohelp>true</nohelp>
|
||
|
<detectLinks>true</detectLinks>
|
||
|
</configuration>
|
||
|
<reportSets>
|
||
|
<reportSet>
|
||
|
<reports>
|
||
|
<report>aggregate</report>
|
||
|
</reports>
|
||
|
</reportSet>
|
||
|
</reportSets>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-pmd-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<linkXref>true</linkXref>
|
||
|
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
|
||
|
<minimumTokens>100</minimumTokens>
|
||
|
<targetJdk>${project.build.javaVersion}</targetJdk>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>findbugs-maven-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<findbugsXmlOutput>true</findbugsXmlOutput>
|
||
|
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
|
||
|
<xmlOutput>true</xmlOutput>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<enableRulesSummary>true</enableRulesSummary>
|
||
|
<configLocation>src/config/checkstyle.xml</configLocation>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>taglist-maven-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<tags>
|
||
|
<tag>@todo</tag>
|
||
|
<tag>@deprecated</tag>
|
||
|
<tag>HELP</tag>
|
||
|
<tag>TODO</tag>
|
||
|
<tag>FIXME</tag>
|
||
|
<tag>LATER</tag>
|
||
|
<tag>ERROR</tag>
|
||
|
<tag>SOMETHING</tag>
|
||
|
</tags>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
</configuration>
|
||
|
<reportSets>
|
||
|
<reportSet>
|
||
|
<reports>
|
||
|
<report>report-only</report>
|
||
|
</reports>
|
||
|
</reportSet>
|
||
|
</reportSets>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.jacoco</groupId>
|
||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<aggregate>true</aggregate>
|
||
|
<goal>report</goal>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</reporting>
|
||
|
</profile>
|
||
|
<profile>
|
||
|
<id>tpquery-sonar</id>
|
||
|
<properties>
|
||
|
<sonar.jdbc.url>jdbc:postgres://localhost/ff-sonar</sonar.jdbc.url>
|
||
|
<sonar.jdbc.username>ff-sonar</sonar.jdbc.username>
|
||
|
<sonar.jdbc.password>sonar-ff</sonar.jdbc.password>
|
||
|
<sonar.host.url>http://localhost:9000</sonar.host.url>
|
||
|
<sonar.junit.reportsPath>target/surefire-reports</sonar.junit.reportsPath>
|
||
|
<sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
|
||
|
</properties>
|
||
|
</profile>
|
||
|
</profiles>
|
||
|
</project>
|