tpquery/pom.xml

485 lines
14 KiB
XML
Raw Normal View History

2015-06-19 15:26:29 +00:00
<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>
2015-12-27 15:01:53 +00:00
<artifactId>ff-tpquery</artifactId>
2015-06-20 15:21:52 +00:00
<version>1.5.0-SNAPSHOT</version>
2015-06-19 15:26:29 +00:00
<packaging>pom</packaging>
2015-12-27 15:01:53 +00:00
<name>FF TPQuery</name>
2015-06-19 15:26:29 +00:00
<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>
2015-12-27 15:01:53 +00:00
<module>ff-tpquery-executor-jdbc</module>
<module>ff-tpquery-executor-jpa</module>
<module>ff-tpquery-store</module>
2015-06-19 15:26:29 +00:00
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceVersion>1.8</project.build.sourceVersion>
2015-06-20 17:40:47 +00:00
<!-- workaround for: [WARNING] 'reporting.plugins.plugin.version' for ... -->
<jacoco-maven-plugin.version>0.7.4.201502262128</jacoco-maven-plugin.version><!--
invalid format 1007: <version>0.7.5.201505241946</version> -->
2015-06-20 17:40:47 +00:00
<maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
<maven-project-info-reports-plugin>2.8</maven-project-info-reports-plugin>
2015-06-19 15:26:29 +00:00
</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>
2015-06-19 19:09:16 +00:00
<version>5.0.0.CR1</version>
2015-06-19 15:26:29 +00:00
</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>
</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-javadoc-plugin</artifactId>
2015-06-20 17:40:47 +00:00
<version>${maven-javadoc-plugin.version}</version>
2015-06-19 15:26:29 +00:00
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
2015-06-20 17:40:47 +00:00
<version>${jacoco-maven-plugin.version}</version>
2015-06-19 15:26:29 +00:00
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
2015-06-19 18:30:26 +00:00
<id>test-none</id>
2015-06-19 15:26:29 +00:00
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
<profile>
<id>test-pitest</id>
<build>
<plugins>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>1.1.10</version>
<configuration>
<targetClasses>
<param>${pitest.classes}</param>
</targetClasses>
<targetTests>
<param>net.forwardfire.tpquery*</param>
</targetTests>
<avoidCallsTo>
<avoidCallsTo>java.util.logging</avoidCallsTo>
<avoidCallsTo>org.apache.log4j</avoidCallsTo>
<avoidCallsTo>org.slf4j</avoidCallsTo>
<avoidCallsTo>org.apache.commons.logging</avoidCallsTo>
</avoidCallsTo>
</configuration>
</plugin>
</plugins>
</build>
</profile>
2015-06-19 15:26:29 +00:00
<profile>
2015-06-19 18:30:26 +00:00
<id>test-jacoco</id>
2015-06-19 15:26:29 +00:00
<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>
2015-06-19 18:30:26 +00:00
<id>build</id>
2015-06-19 15:26:29 +00:00
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
2015-06-20 17:40:47 +00:00
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
2015-06-19 15:26:29 +00:00
</plugin>
</plugins>
</build>
</profile>
<profile>
2015-06-19 18:30:26 +00:00
<id>build-site</id>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>${maven-project-info-reports-plugin}</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 15:24:08 +00:00
<copy verbose="true" file="readme.md" toFile="src/site/markdown/index.md" />
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>${maven-project-info-reports-plugin}</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>${maven-javadoc-plugin.version}</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>3.4</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>3.0.0</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>2.15</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>2.4</version>
2015-06-19 15:26:29 +00:00
<configuration>
<aggregate>true</aggregate>
<tags>
<tag>@todo</tag>
2015-06-19 19:29:21 +00:00
<tag>@TODO</tag>
2015-06-19 15:26:29 +00:00
<tag>@deprecated</tag>
2015-06-19 19:29:21 +00:00
<tag>@help</tag>
<tag>@HELP</tag>
<tag>help</tag>
2015-06-19 15:26:29 +00:00
<tag>HELP</tag>
2015-06-19 19:29:21 +00:00
<tag>todo</tag>
2015-06-19 15:26:29 +00:00
<tag>TODO</tag>
2015-06-19 19:29:21 +00:00
<tag>fixme</tag>
2015-06-19 15:26:29 +00:00
<tag>FIXME</tag>
2015-06-19 19:29:21 +00:00
<tag>later</tag>
2015-06-19 15:26:29 +00:00
<tag>LATER</tag>
2015-06-19 19:29:21 +00:00
<tag>error</tag>
2015-06-19 15:26:29 +00:00
<tag>ERROR</tag>
2015-06-20 14:19:57 +00:00
<tag>temp</tag>
<tag>TEMP</tag>
<tag>mmm</tag>
<tag>MMM</tag>
<tag>???</tag>
2015-06-19 15:26:29 +00:00
</tags>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
2015-06-20 17:40:47 +00:00
<version>2.18.1</version>
2015-06-19 15:26:29 +00:00
<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>
2015-06-20 17:40:47 +00:00
<version>${jacoco-maven-plugin.version}</version>
2015-06-19 15:26:29 +00:00
<configuration>
<aggregate>true</aggregate>
<goal>report</goal>
</configuration>
</plugin>
</plugins>
</reporting>
</profile>
</profiles>
</project>