Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the latest version of build-helper-maven-plugin that requires JDK 1.6?

The latest version of the Build Helper Maven plugin (1.10 at the moment) requires Java 1.7, which broke my build. The plugin documentation page only shows Java version requirement for the latest version.

like image 752
Randell Avatar asked Dec 02 '15 22:12

Randell


People also ask

Which JDK does Maven use?

The Maven tool uses JDK version 11.0. 10. The default JDK is set to 13.0.

What is the use of build Helper Maven plugin?

This is the build-helper-maven-plugin contains serveral goals to support you in different kinds of task, like parsing version information, add supplemental source/test folders to a Maven project or attach supplemental artifacts. More details can be found on the goals overview page.

What are the correct types of Maven plugins?

Introduction. In Maven, there are two kinds of plugins, build and reporting: Build plugins are executed during the build and configured in the <build/> element. Reporting plugins are executed during the site generation and configured in the <reporting/> element.

What is the use of Org Codehaus Mojo plugin?

This is the Mojo's Maven plugin for Cobertura. Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage.


1 Answers

Looking at Build Helper Maven Plugin versions, here

  • version 1.9.1 points to parent POM org.codehaus.mojo.mojo-parent version 33, which still sets its Java target at 1.5 (via the property mojo.java.target).

  • version 1.10 points to parent POM org.codehaus.mojo.mojo-parent version 38, which sets its Java target at 1.7

Hence, Build Helper Maven Plugin 1.9.1 is the latest version compatible with Java 6. From that version on, Java 7 is the default target.

like image 186
A_Di-Matteo Avatar answered Oct 11 '22 07:10

A_Di-Matteo