summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2015-01-27 00:59:52 +0100
committerChristian Halstrick <christian.halstrick@sap.com>2015-02-09 14:11:50 +0100
commitc26bc63ef168e4da3886f376d1609b392b5651c3 (patch)
treed8b494a15f7cf463cd5a3007bb5100f7ae4c12eb /pom.xml
parent21f667edbaa1727e08ea9356fcbfbefdee481b2f (diff)
downloadjgit-c26bc63ef168e4da3886f376d1609b392b5651c3.tar.gz
jgit-c26bc63ef168e4da3886f376d1609b392b5651c3.zip
Set minimum required Java version to Java 7
Bug: 458475 Change-Id: Iea8f2236d4e6a94a8d14bb8cc685006ea3fd1bb7 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/pom.xml b/pom.xml
index 79e905ccd1..94a88e6db9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -237,6 +237,11 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ <source>1.7</source>
+ <target>1.7</target>
+ </configuration>
</plugin>
<plugin>
@@ -314,7 +319,7 @@
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
- <targetJdk>1.5</targetJdk>
+ <targetJdk>1.7</targetJdk>
<format>xml</format>
<failOnViolation>false</failOnViolation>
</configuration>
@@ -375,11 +380,6 @@
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
</plugin>
<plugin>
@@ -426,7 +426,7 @@
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
<links>
- <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+ <link>http://docs.oracle.com/javase/7/docs/api</link>
</links>
</configuration>
<executions>