Skip to content

Commit

Permalink
Require Java 8 for jacoco-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed May 23, 2023
1 parent db49eb3 commit e66c9fd
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jacoco-maven-plugin/.classpath
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
Expand Down
15 changes: 15 additions & 0 deletions jacoco-maven-plugin/pom.xml
Expand Up @@ -32,6 +32,12 @@
<maven>3.0</maven>
</prerequisites>

<properties>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
Expand Down Expand Up @@ -95,6 +101,15 @@
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<executions>
<execution>
<phase/>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions org.jacoco.doc/docroot/doc/changes.html
Expand Up @@ -20,6 +20,12 @@ <h1>Change History</h1>

<h2>Snapshot Build @qualified.bundle.version@ (@build.date@)</h2>

<h3>New Features</h3>
<ul>
<li>jacoco-maven-plugin now requires at least Java 8
(GitHub <a href="https://github.com/jacoco/jacoco/issues/1466">#1466</a>).</li>
</ul>

<h3>Fixed bugs</h3>
<ul>
<li>Instrumentation should not cause <code>VerifyError</code> when the last
Expand Down
2 changes: 1 addition & 1 deletion org.jacoco.doc/docroot/doc/maven.html
Expand Up @@ -74,7 +74,7 @@ <h2>Prerequisites</h2>

<ul>
<li>Maven 3.0 or higher and</li>
<li>Java 1.5 or higher (for both, the Maven runtime and the test executor).</li>
<li>Java 1.8 or higher for the Maven runtime, Java 1.5 or higher for the test executor.</li>
</ul>


Expand Down

0 comments on commit e66c9fd

Please sign in to comment.