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