Top "Maven-compiler-plugin" questions

The Maven Compiler Plugin is used to compile the sources of your project.

How can I configure Maven to use JDK6 by default, but JDK7 as needed

I have both JDK 1.6 and 1.7 installed on my system (Linux, under the /opt directory). I've added the bin directory for …

maven maven-compiler-plugin
Failed to execute goal maven-compiler-plugin 3.8.0 - org/codehaus/plexus/compiler/manager/NoSuchCompilerException

i am using Maven 3.5.3 with JDK 1.8. When i try to compile from cmd my project with mvn clean compile, the …

java maven maven-compiler-plugin
How to tell compiler to use openjdk 11 via pom.xml

How to configure OpenJDK 11 in pom file. <properties> <maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.…

java maven java-11 maven-compiler-plugin
How to permanently exclude one test class in a Maven build

I'm trying to exclude a single test from my maven build (I don't want the test to be compiled or …

maven maven-surefire-plugin maven-compiler-plugin
Getting "Expecting a stackmap frame at branch target" when running Maven integration testing

I’m using Maven 3.2.3 with this version of Java davea$ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home …

java-8 verifyerror maven-failsafe-plugin maven-compiler-plugin
How to solve Element compilerArgs is not allowed here Error in maven compiler plugin?

I am using the maven compiler plugin 3.0 and I get the error "Element compilerArgs is not allowed here". This seems …

java maven-compiler-plugin intellij-idea2017
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK in IntelliJ

I tried mvn clean install in Intellij. But it raise this error. image 1 mvn -version command works fine in the …

maven intellij-idea maven-compiler-plugin
Why maven compilation doesn't work with "pom" packaging type

I don't know why my maven build doesn't generate target/classes in current pom setting, the packaging type must be "…

maven-2 target maven-assembly-plugin maven-compiler-plugin
What does "Required filename-based automodules detected." warning mean?

In my multi-module project, I created module-info.java only for few modules. And during compilation with maven-compiler-plugin:3.7.0 I'm getting next …

java maven maven-3 java-9 maven-compiler-plugin
Unable to resolve FragmentActivity running on Android 2.3.3 with compatibility package v4

I'm building a simple hello world app to learn about the Android Compatibility Package. I'm able to get the app …

android android-fragments android-compatibility maven-compiler-plugin