Top "Maven" questions

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

Maven 3 and JUnit 4 compilation problem: package org.junit does not exist

I am trying to build a simple Java project with Maven. In my pom-file I declare JUnit 4.8.2 as the only …

maven junit junit4 maven-3 junit3
Maven error :Perhaps you are running on a JRE rather than a JDK?

I've never worked with Maven before and I am following the instructions here. When I run the command mvn integration-test …

java maven compiler-errors
How do I force Maven to use my local repository rather than going out to remote repos to retrieve artifacts?

I’m using Maven 3.3.3 with Java 8 on Mac Yosemite. I have a multi-module project. <modules> <module>…

maven repository maven-3 artifacts
Could not resolve all dependencies for configuration ':classpath'

I cant seem to get build tools for the latest gradle at all. I suspect its something to do with …

android maven proxy gradle build-tools
How to tell Maven to disregard SSL errors (and trusting all certs)?

I frequently need to run "mvn" command : mvn -f pom.xml clean install -Dmaven.test.skip=false --settings /Users/myhome/…

maven ssl-certificate
m2eclipse error

I am developing a web application with Eclipse and I generate the project with a maven archetype. When I enable …

eclipse maven m2eclipse
How do I set the eclipse.ini -vm option?

I installed the Maven plugin for Eclipse, and then I got an error like below: please make sure the -vm …

eclipse maven-2 maven eclipse-plugin m2eclipse
Error: JAVA_HOME is not defined correctly executing maven

I installed java and set the path environment and when I run echo $JAVA_HOME in the terminal I get …

java maven java-home
Maven project version inheritance - do I have to specify the parent version?

I have two projects: Parent project: A, Sub project: B A/pom.xml: <groupId>com.dummy.bla</…

inheritance maven
add maven repository to build.gradle

I added a custom maven repository to build.gradle in Android Studio but the dependency is not being found Maven …

android maven gradle android-studio achartengine