GithubHelp home page GithubHelp logo

Comments (4)

Boyman10 avatar Boyman10 commented on June 2, 2024 1

I reproduced the issue and got it solved by building using jdk11 (altering the pom to match the proper version).

from maven-build-scanner.

alexec avatar alexec commented on June 2, 2024 1

Solution: remove the plugin. It only formats source code. Less valuable than running in many Java versions.

from maven-build-scanner.

edumco avatar edumco commented on June 2, 2024

Thank you @Boyman10! I just discover that the problem is the Google Java Format Plugin (https://github.com/google/google-java-format) that is used inside the fmt-maven-plugin (https://github.com/coveooss/fmt-maven-plugin)

From fmt-maven-plugin docs:

Starting from version 1.8, Google Java Formatter requires Java 11 to run. Incidently, all versions of this plugin starting from 2.10 inclusively also require this Java version to properly function. The 2.9.x release branch is the most up-to-date version that still runs on Java 8.

I firmly believe that migrate to Java 11 is a great move since is a LTS version that is largely used on production envs.

But some projects have not migrated yet and maven buils scanner could be very useful for them

I'll try to find some workaround for this cases. If I find that is too complex I'll happily close this issue :)

from maven-build-scanner.

edumco avatar edumco commented on June 2, 2024

I'll do it now!

from maven-build-scanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.