You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
340 lines
14 KiB
340 lines
14 KiB
<?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:$ |
|
--> |
|
|
|
<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> |
|
<groupId>com.moparisthebest.jdbcmapper</groupId> |
|
<artifactId>jdbcmapper-parent</artifactId> |
|
<version>1.0-SNAPSHOT</version> |
|
<description> |
|
JdbcMapper takes the pain out of mapping SQL to POJOs |
|
</description> |
|
<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> |
|
<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> |
|
<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> |
|
<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> |
|
<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> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-source-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>attach-sources</id> |
|
<phase>verify</phase> |
|
<goals> |
|
<goal>jar-no-fork</goal> |
|
</goals> |
|
</execution> |
|
</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> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>3.1</version> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-jar-plugin</artifactId> |
|
<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> |
|
<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> |
|
<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> |
|
<exclude>**/AutoCloseableUtil.java</exclude> |
|
<exclude>**/com/moparisthebest/jdbc/cache/*</exclude> |
|
</excludes> |
|
<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> |
|
<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> |
|
<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> |
|
<compilerArg>-XDignore.symbol.file</compilerArg> |
|
</compilerArgs> |
|
</configuration> |
|
<goals> |
|
<goal>testCompile</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
|
|
</project>
|
|
|