Comments (4)
I reproduced the issue and got it solved by building using jdk11 (altering the pom to match the proper version).
from maven-build-scanner.
Solution: remove the plugin. It only formats source code. Less valuable than running in many Java versions.
from maven-build-scanner.
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.
I'll do it now!
from maven-build-scanner.
Related Issues (20)
- Issues with manual build process HOT 2
- Enable to run "in memory" without mongo HOT 16
- SLF4J compatibity issues - logs not streaming while mvn target execution HOT 4
- Release version process HOT 5
- [ERROR] LifecycleProfilerTest.testSessionProfile:78 ยป NullPointer HOT 3
- Run as Docker container HOT 3
- Support running the server as docker container
- com.intuit.maven.extensions.build.scanner.LifecycleProfiler error for custom application HOT 2
- LifecycleProfilerTest.testSessionProfile:78 ยป NullPointer HOT 4
- Dockerize node server
- setup.sh fails HOT 3
- Would you like to become a maintainer? HOT 5
- Build failure - needs Java 11 HOT 1
- Migrate Circle CI to Actions
- Build fails on Java 16 HOT 1
- Unable to use the extension (jdk11) HOT 7
- Getting NPE when running mvn clean install HOT 2
- Fix failure when repository is not git HOT 2
- maven-build-scanner ignores -T arguments HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-build-scanner.