Pull in correct querymapper dependency based on java version
This commit is contained in:
parent
6ad9a3fb4e
commit
31b1a8b064
@ -36,7 +36,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.moparisthebest.jdbcmapper</groupId>
|
<groupId>com.moparisthebest.jdbcmapper</groupId>
|
||||||
<artifactId>querymapper</artifactId>
|
<artifactId>querymapper</artifactId>
|
||||||
<classifier>jdk16</classifier>
|
<classifier>${jar.classifier}</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.moparisthebest.aptIn16</groupId>
|
<groupId>com.moparisthebest.aptIn16</groupId>
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.moparisthebest.jdbcmapper</groupId>
|
<groupId>com.moparisthebest.jdbcmapper</groupId>
|
||||||
<artifactId>querymapper</artifactId>
|
<artifactId>querymapper</artifactId>
|
||||||
<classifier>jdk16</classifier>
|
<classifier>${jar.classifier}</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
|
23
pom.xml
23
pom.xml
@ -76,6 +76,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<pushChanges>false</pushChanges>
|
<pushChanges>false</pushChanges>
|
||||||
<localCheckout>true</localCheckout>
|
<localCheckout>true</localCheckout>
|
||||||
|
<jar.classifier/>
|
||||||
</properties>
|
</properties>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<modules>
|
<modules>
|
||||||
@ -218,7 +219,7 @@
|
|||||||
<groupId>com.moparisthebest.jdbcmapper</groupId>
|
<groupId>com.moparisthebest.jdbcmapper</groupId>
|
||||||
<artifactId>querymapper</artifactId>
|
<artifactId>querymapper</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<classifier>jdk16</classifier>
|
<classifier>${jar.classifier}</classifier>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
@ -308,4 +309,24 @@
|
|||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>jdk6</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.6,1.8)</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<jar.classifier>jdk16</jar.classifier>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>jdk8</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.8,)</jdk>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<jar.classifier/>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
Loading…
Reference in New Issue
Block a user