maven-compiler-plugin Questions
13
I am learning Selenium and I would like to try add the maven-compiler-plugin to pom.xml and reimport maven settings. So I found this example to do it http://maven.apache.org/plugins/maven-compiler-...
Pediment asked 7/2, 2020 at 20:26
13
I am trying to start with Spring-boot, Maven in Intellij
Please help me I am getting the error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default...
Charin asked 5/3, 2018 at 8:9
7
Solved
I'm not very experienced with Maven and while experimenting with multi-module project I started wondering how can I specify Java version for all my child modules in parent Maven pom. Until today I ...
Larkspur asked 10/8, 2016 at 19:35
2
Solved
I tried to create a very simple JavaFX project with maven and use GitHub actions to build a linux package from it. This is the workflow file:
# This workflow will build a Java project with Maven
# ...
Larvicide asked 5/9, 2022 at 15:38
32
I have a maven project forked and cloned from a git repo onto my eclipse. It is build on Java 8. The first thing i do is perform a
mvn clean install
But I get following failure message:
[INFO] Sca...
Avalon asked 1/3, 2017 at 6:56
16
Solved
As of today, my maven compile fails.
[INFO] [ERROR] Unexpected
[INFO] java.lang.OutOfMemoryError: Java heap space
[INFO] at java.util.Arrays.copyOfRange(Arrays.java:2694)
[INFO] at java.lang.Strin...
Foreknow asked 19/9, 2012 at 16:13
2
Solved
I am getting a maven compiler error when compiling with JDK 1.8
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project DUMMY : Fatal error...
Cooper asked 19/2, 2020 at 13:49
2
My application is split between users on Java 1.6u45 and Java 1.8. Our problem is that we cannot specify the project system library and have two different compiler settings for the code at the same...
Intermission asked 4/2, 2016 at 19:34
3
in my application I have 3 modules like this:
permissions (parent pom)
|---permission-api (just api, without main spring class)
|---permission-service (spring boot app)
In parent pom in main modul...
Limulus asked 3/3, 2022 at 18:43
33
I am using Maven 3.0.5 and Spring Tool Source 3.2 with Maven plugin installed. When I try to do 'Run As---> Maven install', I am getting the following error:
[INFO] Scanning for projects...
[INFO]...
Grog asked 20/6, 2013 at 20:51
2
Solved
I am upgrading my project from java 8 to java 11. I'm able to build and deploy it with java11, spring 5 dependencies but when I am adding module-info.java into my project I am getting below error w...
Zobe asked 3/2, 2020 at 15:10
7
Solved
I'm having some issues to configure properly my eclipse to work with maven.
I create a new project, this one is correctly build with maven in command line (mvn install), but in Eclipse I got this ...
Guelders asked 5/2, 2014 at 13:52
5
Solved
I am migrating from Java 8 to Java 11 and faced the problem.
I should use:
maven-compiler-plugin 2.5.1 with target 1.8 (compiling WAR in java8)
tomcat9
Open JDK 11
But on startup gettings const...
Peppard asked 2/7, 2019 at 15:4
8
Solved
I have a root module and submodule in maven in the project. I am trying to use Lombok.
I have added
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok&...
Azedarach asked 15/2, 2017 at 18:30
2
Solved
I'm trying to build IntelliJ Project with maven on java 16.0.1, but it can't compile my project, although IntelliJ is able to do it successfuly. Before that, I used maven to compile a java 15 proje...
Tallyho asked 30/4, 2021 at 13:23
2
We have a collection of Java module projects (using JDK11).
There is a separate project for our integration tests. This project needs to be able to access the main application project to run its t...
Forejudge asked 30/4, 2019 at 9:0
3
Solved
My project has the following package structure:
src/
com.my.app.school.course
-Course.java
...
com.my.app.school.course.free
-CourseFree.java
I use Maven to build the project, in my pom.x...
Backstop asked 15/8, 2014 at 8:15
2
Solved
I have a project that is using Java 8.
Up to now in the pom we specified the source and target version as 1.8:
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.ta...
Alagez asked 20/9, 2018 at 6:57
2
Solved
I have two questions about maven.compiler.release-tag
I want to replace
<properties>
<maven.compiler.source>12</maven.compiler.source>
<maven.compiler.target>12</maven....
Swellhead asked 26/11, 2019 at 11:30
4
Solved
Trying to exlcude a folder src/main/resources/scripts/ from my build but the following does not work:
<build>
<resources>
<resource>
<directory>src/main/resources</di...
Cluny asked 12/8, 2014 at 11:11
3
Solved
I used the org.openjfx:javafx-archetype-simple Maven archetype to start my first JavaFX project.
The resulting POM:
<project xmlns = "http://maven.apache.org/POM/4.0.0"
xmlns:xsi = "http://w...
Taveda asked 28/3, 2020 at 5:9
3
Solved
I'm trying to exclude a single test from my maven build (I don't want the test to be compiled or executed). The following doesn't work:
<project ...>
<build>
<plugins>
<plu...
Dispersal asked 12/8, 2014 at 20:5
4
I have a maven project that uses the aspectj-compiler-plugin. I use intertype declarations so there are references to Aspect code in my Java code. Because of this, the maven-compiler-plugin fails t...
Tera asked 30/1, 2013 at 21:47
1
Solved
I'm attempting to upgrade a 15 year old Maven multimodule project to Java 11, and the module system that was introduced in Java 9. Since the project is built using Maven, all dependencies are prett...
Hardden asked 20/3, 2019 at 8:51
2
How to configure OpenJDK 11 in pom file.
<properties>
<maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.version>
<maven.compiler.target>11</maven.compiler.ta...
Bivins asked 18/6, 2019 at 7:16
1 Next >
© 2022 - 2025 — McMap. All rights reserved.