Skip to content

Tag: maven

Jetty 11 Doesn’t Detect Jakarta Servlets

This is a follow up to this question. I don’t think it’s a duplicate because the accepted answer indicates that Jetty 11 doesn’t work with javax servlets, but I’m asking why Jetty 11 doesn’t work with jakarta servlets. I have an example project here that uses Jetty 9 to deploy a …

Eclipse Spring Boot need declare Maven dependency explicitly

I have 2 development PCs, both have following specification: Windows 10 1909 64 bit Installed Oracle JDK 1.8.0_281-b09 Eclipse IDE for Java Developers 2020-12 (4.18.0) The application under development is a Spring Boot project with following Maven file: When importing the project into Eclipse, one of developm…

Quarkus Maven Plugin not building anymore

For some reason the backend of our Application does not build correctly: Error message While using mvn clean install still works mvn compile quarkus:dev -pl web does not, throwing the following error message during the build of quarkus-maven-plugin:1.11.3.Final:dev: This continues with increasing time interva…

Can’t run Maven 3.6.3 on JDK7

According to the Maven release history, it should be possible to run any recent version of Maven (at the time of writing anyway) on JDK 7. However, when I try to do so on my Ubuntu 21.04 machine, I get an error: java.lang.UnsupportedClassVersionError: com/google/inject/Module : Unsupported major.minor version…

Why default maven uses such old versions of plugins?

I am new to Maven, and struggling to find out how does maven decide what version of a plugin (e.g. maven-compiler) to use when no version is defined in pom.xml. Using latest maven version 3.8.1. Created a hello-world java program and ran mvn compile. And it downloads following versions: maven-resources-plugin…