Top "Maven" questions

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

Missing maven .m2 folder

AFAIK maven does not have an installer for Windows, you simply unzip it wherever you like, as explained here. However …

windows maven installation
Plugin execution not covered by lifecycle configuration (JBossas 7 EAR archetype)

I am using Eclipse 3.7 Indigo with Maven M2E Plugin 1.0.100. Using the JBoss 7.x JavaEE 6 EAR archetype, the pom for …

maven jboss7.x m2eclipse maven-ear-plugin
How are "mvn clean package" and "mvn clean install" different?

What exactly are the differences between mvn clean package and mvn clean install? When I run both of these commands, …

java maven
How to fix error "Updating Maven Project". Unsupported IClasspathEntry kind=4?

I have imported maven project in STS, when I run update update project I receive: "Updating Maven Project". Unsupported IClasspathEntry …

eclipse maven m2eclipse eclipse-wtp
How to solve maven 2.6 resource plugin dependency?

ERROR: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be …

java eclipse rest maven m2eclipse
Force re-download of release dependency using Maven

I'm working on a project with dependency X. X, in turn, depends on Y. I used to explicitly include Y …

maven-2 maven dependency-management maven-dependency-plugin
IntelliJ - Convert a Java project/module into a Maven project/module

I have a project on Bitbucket. Only the sources are committed. To retrieve the project onto a new machine, I …

java maven intellij-idea pom.xml
Get source JARs from Maven repository

Does anyone have any idea if you can find source JARs on Maven repositories?

java maven mvn-repo
How do I put all required JAR files in a library folder inside the final JAR file with Maven?

I am using Maven in my standalone application, and I want to package all the dependencies in my JAR file …

java maven jar build-process classloader
Maven Out of Memory Build Failure

As of today, my maven compile fails. [INFO] [ERROR] Unexpected [INFO] java.lang.OutOfMemoryError: Java heap space [INFO] at java.…

maven out-of-memory maven-3 pom.xml maven-compiler-plugin