aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorritchie <ritchie@gmx.at>2015-05-23 15:11:34 +0200
committerritchie <ritchie@gmx.at>2015-05-23 15:11:34 +0200
commit0dbe9168e5b9ad575b73aa7f2c709a7d1c23a5e2 (patch)
tree1a88241052f0cd9157d36d6b866e96c4c2e1293a /pom.xml
parente285ef9865094efa2d1574ebef2ddf290882b392 (diff)
downloadnanohttpd-0dbe9168e5b9ad575b73aa7f2c709a7d1c23a5e2.tar.gz
next try to use a real jdk 1.6
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml26
1 files changed, 25 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 138699d..e6adcf7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -109,7 +109,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.1</version>
+ <version>3.3</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
@@ -447,5 +447,29 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>use 1.6 compiler</id>
+ <activation>
+ <file>
+ <exists>/usr/lib/jvm/java-6-openjdk-amd64/bin/javac</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.3</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <verbose>true</verbose>
+ <fork>true</fork>
+ <executable>/usr/lib/jvm/java-6-openjdk-amd64/bin/javac</executable>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>