Top "Maven" questions

Apache Maven is a build automation and project management tool used primarily for Java projects.

Maven project.build.directory

In Maven, what does the project.build.directory refer to? I am a bit confused, does it reference the source …

maven
"java.lang.OutOfMemoryError: PermGen space" in Maven build

I'm getting this error while building Maven project, I increased MAVEN_OPTS but all the same, I found some similar …

java maven out-of-memory permgen
Missing artifact com.sun:tools:jar

I've been following the getting started tutorial, but am stuck after I imported the playn project using Maven. I am …

java maven playn
How to resolve Unable to load authentication plugin 'caching_sha2_password' issue

In eclipse when i started my application i got this - Could not discover the dialect to use. java.sql.…

java mysql eclipse maven spring-boot
Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved

I have install maven in my machine. I have properly set the class-path and maven home folder. Every time I …

maven maven-2 maven-3 maven-plugin maven-release-plugin
What is a Maven artifact?

What is an artifact and why does Maven need it?

java build maven
Jenkins CI Pipeline Scripts not permitted to use method groovy.lang.GroovyObject

I am Using Jenkins 2 for compiling Java Projects, I want to read the version from a pom.xml, I was …

maven jenkins continuous-integration jenkins-pipeline
Launching Spring application Address already in use

I have this error launching my spring application: java -jar target/gs-serving-web-content-0.1.0.jar . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (…

java spring maven tomcat spring-mvc
Error in setting JAVA_HOME

I have recently downloaded Maven and followed the instructions given on this this page. I already have ant installed on …

java maven installation path-variables
"Could not find acceptable representation" using spring-boot-starter-web

I am trying to use spring-boot-starter-web to create a rest service serving up JSON representations of Java objects. From what …

java json spring maven spring-mvc