Top "Maven" questions

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

Maven skip tests

I am using Maven 2.2.1 and to build my project I used this command mvn clean install -Dmaven.test.skip=true …

maven
Differences between dependencyManagement and dependencies in Maven

What is the difference between dependencyManagement and dependencies? I have seen the docs at Apache Maven web site. It seems …

maven pom.xml dependency-management
Maven error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher

I have installed a latest maven-3.0.4 on Windows 7: The installation details are as follows: Installation Path : C:\apache-maven-3.0.4 Environment Variables …

java windows maven
How is "mvn clean install" different from "mvn install"?

What is the difference between mvn clean install and mvn install?

java build maven maven-3
Maven: best way of linking custom external JAR to my project?

It's my first couple of days learning Maven and I'm still struggling with the basics. I have an external .jar …

java maven-2 maven m2eclipse
Force Intellij IDEA to reread all maven dependencies

How to force intellij idea to reread/update all dependencies specified in the pom file ?

maven intellij-idea
Updating version numbers of modules in a multi-module Maven project

I have a multi-module maven project. We intend to version all these modules together. But as of now I am …

maven
Deploying Maven project throws java.util.zip.ZipException: invalid LOC header (bad signature)

I am getting the below exception when I run my mvn install. I have even deleted the local repository and …

maven jakarta-ee deployment jar
Maven does not find JUnit tests to run

I have a maven program, it compiles fine. When I run mvn test it does not run any tests (under …

java maven junit
force Maven to copy dependencies into target/lib

How do I get my project's runtime dependencies copied into the target/lib folder? As it is right now, after …

java maven dependencies maven-2 maven-3