aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.examples
diff options
context:
space:
mode:
authorMirko Friedenhagen <mfriedenhagen@gmail.com>2013-11-29 23:23:13 +0100
committerMirko Friedenhagen <mfriedenhagen@gmail.com>2013-11-29 23:23:13 +0100
commit464d355bd6acac059f5c5681646fbb7e5b4d2de2 (patch)
treef72d8f050256eb35a9d1217239f14e575d688e3e /org.jacoco.examples
parentc566346dc2320dd8ccb0dab725e4180639de9cb5 (diff)
downloadjacoco-464d355bd6acac059f5c5681646fbb7e5b4d2de2.tar.gz
Force source and target in examples to at least JDK5.
* This is needed when you want to compile Jacoco with Maven 2.2.1 because the default maven-compiler-plugin version here assumes JDK1.3 as default. * With Maven 3 the default JDK is 1.5 so buildhive did not detect this.
Diffstat (limited to 'org.jacoco.examples')
-rw-r--r--org.jacoco.examples/build/pom-it.xml5
-rw-r--r--org.jacoco.examples/build/pom-offline.xml5
-rw-r--r--org.jacoco.examples/build/pom.xml5
3 files changed, 15 insertions, 0 deletions
diff --git a/org.jacoco.examples/build/pom-it.xml b/org.jacoco.examples/build/pom-it.xml
index 50886dba..01cf773e 100644
--- a/org.jacoco.examples/build/pom-it.xml
+++ b/org.jacoco.examples/build/pom-it.xml
@@ -31,6 +31,11 @@
</dependency>
</dependencies>
+ <properties>
+ <maven.compiler.source>1.5</maven.compiler.source>
+ <maven.compiler.target>1.5</maven.compiler.target>
+ </properties>
+
<build>
<plugins>
<plugin>
diff --git a/org.jacoco.examples/build/pom-offline.xml b/org.jacoco.examples/build/pom-offline.xml
index 0b5129ca..20300e9d 100644
--- a/org.jacoco.examples/build/pom-offline.xml
+++ b/org.jacoco.examples/build/pom-offline.xml
@@ -38,6 +38,11 @@
</dependency>
</dependencies>
+ <properties>
+ <maven.compiler.source>1.5</maven.compiler.source>
+ <maven.compiler.target>1.5</maven.compiler.target>
+ </properties>
+
<build>
<plugins>
<plugin>
diff --git a/org.jacoco.examples/build/pom.xml b/org.jacoco.examples/build/pom.xml
index 36beffd9..0d3c18da 100644
--- a/org.jacoco.examples/build/pom.xml
+++ b/org.jacoco.examples/build/pom.xml
@@ -31,6 +31,11 @@
</dependency>
</dependencies>
+ <properties>
+ <maven.compiler.source>1.5</maven.compiler.source>
+ <maven.compiler.target>1.5</maven.compiler.target>
+ </properties>
+
<build>
<plugins>
<plugin>