Skip to content
Advertisement

Tag: maven-compiler-plugin

Maven Package Command Failure

I am new with maven and package command for my project is failing but I have not been able to figure out what the error is from the generated log. Below is the output of the mvn clean package -X This is pom.xml Also, I am using jenv to toggle between different java versions, since I have another project that

Can a maven plugin configuration be aggregated from parent to child project

I have 3 maven projects, the parent, the middle, and the child project: Then I have 2 annotation processor dependencies. The parent project defines maven-compiler-plugin as a managed plugin and configures annotation processor 1 on the annotationProcessorPath. The middle project does likewise and configures annotation processor 2 on the annotationProcessorPath. The compile of child project then fails because its missing

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 warning: [WARNING] * Required filename-based automodules detected. Please don’t publish this project to a public artifact repository! * What does it mean? Is that because I have only a few modules with module-info.java and not the whole project? Answer Automatic module

Plugin org.apache.maven.plugins:maven-compiler-plugin or one of its dependencies could not be resolved

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 error: CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not

Advertisement