diff options
author | ritchie <ritchie@gmx.at> | 2015-05-23 15:11:34 +0200 |
---|---|---|
committer | ritchie <ritchie@gmx.at> | 2015-05-23 15:11:34 +0200 |
commit | 0dbe9168e5b9ad575b73aa7f2c709a7d1c23a5e2 (patch) | |
tree | 1a88241052f0cd9157d36d6b866e96c4c2e1293a /pom.xml | |
parent | e285ef9865094efa2d1574ebef2ddf290882b392 (diff) | |
download | nanohttpd-0dbe9168e5b9ad575b73aa7f2c709a7d1c23a5e2.tar.gz |
next try to use a real jdk 1.6
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -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> |