JdbcMapper/pom.xml

341 lines
14 KiB
XML
Raw Normal View History

<?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.
$Header:$
-->
2017-06-13 23:55:57 -04: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>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
2017-05-28 00:29:58 -04:00
<groupId>com.moparisthebest.jdbcmapper</groupId>
<artifactId>jdbcmapper-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<description>
2017-05-28 00:29:58 -04:00
JdbcMapper takes the pain out of mapping SQL to POJOs
</description>
2017-05-28 00:29:58 -04:00
<url>https://code.moparisthebest.com/moparisthebest/JdbcMapper</url>
<organization>
<name>moparisthebest.com</name>
<url>http://www.moparisthebest.com</url>
</organization>
<developers>
<developer>
<id>moparisthebest</id>
<name>Travis Burtrum</name>
<email>admin@moparisthebest.com</email>
<url>http://www.moparisthebest.com/</url>
</developer>
</developers>
<scm>
2017-05-28 00:29:58 -04:00
<connection>scm:git:https://code.moparisthebest.com/moparisthebest/JdbcMapper.git</connection>
<developerConnection>scm:git:https://code.moparisthebest.com/moparisthebest/JdbcMapper.git</developerConnection>
<url>https://code.moparisthebest.com/moparisthebest/JdbcMapper</url>
</scm>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<maven.test.skip>false</maven.test.skip>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
<source.classifier>sources</source.classifier>
<javadoc.classifier>javadoc</javadoc.classifier>
2017-06-13 23:55:57 -04:00
<jar.classifier/>
</properties>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<defaultGoal>compile</defaultGoal>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
2014-04-22 08:32:49 -04:00
<resource>
<!-- For generated sources, ugly hack, but maven-source-plugin can't do it any other way right now? -->
<directory>${project.build.outputDirectory}</directory>
</resource>
<resource>
<directory>../</directory>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
</includes>
<targetPath>META-INF/</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
2017-05-16 10:42:14 -04:00
<source>1.6</source>
<target>1.6</target>
<debug>true</debug>
<!--compilerArgument>-Xlint:unchecked</compilerArgument-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</configuration>
</plugin>
2014-04-22 08:32:49 -04:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
2017-06-13 23:55:57 -04:00
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
2014-04-22 08:32:49 -04:00
</executions>
<configuration>
<excludes>
<exclude>**/*.class</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
2017-06-13 23:55:57 -04:00
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
2017-06-13 23:55:57 -04:00
<version>2.4</version>
<configuration>
<classifier>${jar.classifier}</classifier>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2</version>
2017-06-13 23:55:57 -04:00
<configuration>
<classifier>${source.classifier}</classifier>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>jdk6</id>
<activation>
<jdk>[1.6,1.8)</jdk>
</activation>
<properties>
<source.classifier>jdk16-sources</source.classifier>
<maven.javadoc.skip>true</maven.javadoc.skip>
<jar.classifier>jdk16</jar.classifier>
</properties>
<modules>
<module>common</module>
<module>runtime-compiler</module>
<module>querymapper</module>
<module>jdbcmapper</module>
<module>test</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>*/src/main/java/**/*</include>
2017-06-12 22:57:43 -04:00
<include>*/src/test/java/**/*</include>
</includes>
<excludes>
<exclude>target/**</exclude>
</excludes>
<regexFlags>
<regexFlag>LITERAL</regexFlag>
</regexFlags>
<replacements>
<replacement>
<token>//IFJAVA8_START</token>
<value>/*IFJAVA8_START</value>
</replacement>
<replacement>
<token>//IFJAVA8_END</token>
<value>IFJAVA8_END*/</value>
</replacement>
<replacement>
<token>/*IFJAVA6_START</token>
<value>//IFJAVA6_START</value>
</replacement>
<replacement>
<token>IFJAVA6_END*/</token>
<value>//IFJAVA6_END</value>
</replacement>
</replacements>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<excludes>
<exclude>**/module-info.java</exclude>
<exclude>**/PrestoPersonDAO.java</exclude>
2020-08-31 21:48:55 -04:00
<exclude>**/AutoCloseableUtil.java</exclude>
2019-07-25 23:55:59 -04:00
<exclude>**/com/moparisthebest/jdbc/cache/*</exclude>
</excludes>
2018-05-10 23:57:15 -04:00
<compilerArgs>
<compilerArg>-Xlint:unchecked</compilerArg>
</compilerArgs>
</configuration>
<executions>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<configuration>
<testExcludes>
<exclude>**/module-info.java</exclude>
<exclude>**/PrestoPersonDAOTest.java</exclude>
<exclude>**/PrestoSQLParserTest.java</exclude>
</testExcludes>
2018-05-11 00:14:58 -04:00
<compilerArgs>
<compilerArg>-Xlint:unchecked</compilerArg>
<compilerArg>-XDignore.symbol.file</compilerArg>
</compilerArgs>
</configuration>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>jdk8</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<modules>
<module>common</module>
<module>runtime-compiler</module>
<module>querymapper</module>
<module>jdbcmapper</module>
<module>presto-sqlparser</module>
<module>test</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<excludes>
<exclude>**/module-info.java</exclude>
</excludes>
2018-05-10 23:57:15 -04:00
<compilerArgs>
<compilerArg>-Xlint:unchecked</compilerArg>
</compilerArgs>
</configuration>
<executions>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
<configuration>
<testExcludes>
<exclude>**/module-info.java</exclude>
</testExcludes>
<compilerArgs>
<compilerArg>-parameters</compilerArg>
<compilerArg>-Xlint:unchecked</compilerArg>
2018-05-11 00:14:58 -04:00
<compilerArg>-XDignore.symbol.file</compilerArg>
</compilerArgs>
</configuration>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>