aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.doc/docroot/doc/build.html
diff options
context:
space:
mode:
authorMarc R. Hoffmann <hoffmann@mountainminds.com>2012-06-20 20:45:23 +0000
committerMarc R. Hoffmann <hoffmann@mountainminds.com>2012-06-20 20:45:23 +0000
commit3f11b0a5af1f5adc24af91a9ca7c735d34152aa1 (patch)
tree3f6e0f9de85d216edbb044efe54c3a68191d5f25 /org.jacoco.doc/docroot/doc/build.html
parent783aa63e134c6ba067e38e8a49207bd801693510 (diff)
downloadjacoco-3f11b0a5af1f5adc24af91a9ca7c735d34152aa1.tar.gz
Documentation for new build option for bytecode versions.
Diffstat (limited to 'org.jacoco.doc/docroot/doc/build.html')
-rw-r--r--org.jacoco.doc/docroot/doc/build.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/org.jacoco.doc/docroot/doc/build.html b/org.jacoco.doc/docroot/doc/build.html
index cef345d1..8a2f5e61 100644
--- a/org.jacoco.doc/docroot/doc/build.html
+++ b/org.jacoco.doc/docroot/doc/build.html
@@ -131,6 +131,20 @@
mvn --toolchains <i>path</i> clean install -Djdk.version=<i>version</i>
</pre>
+<p>
+ In addition JaCoCo can be compiled for higher class file versions than 1.5
+ specifying the property <code>bytecode.version</code>. Note that in this case
+ the version of the JVM running Maven must be at least the version of the
+ specified bytecode version as this JVM is also running the tests. Combining
+ these options JaCoCo is regularly tested with the following setups:
+</p>
+
+<ul>
+ <li>Maven with 1.5 JRE: <code>mvn clean install -Djdk.version=1.5 -Dbytecode.version=1.5</code></li>
+ <li>Maven with 1.6 JRE: <code>mvn clean install -Djdk.version=1.6 -Dbytecode.version=1.6</code>
+ <li>Maven with 1.7 JRE: <code>mvn clean install -Djdk.version=1.7 -Dbytecode.version=1.7</code>
+</ul>
+
</div>
<div class="footer">