Top "Maven-2" questions

Apache Maven is a software project management and comprehension tool.

How to read an external properties file in Maven

Does anyone know how to read a x.properties file in Maven. I know there are ways to use resource …

java build maven-2 properties-file
How to get a dependency tree for an artifact?

dependency:tree can be used to see the dependency tree for a given project. But what I need is to …

maven-2 build-process dependencies
Differences between Ant and Maven

Could someone tell me the differences between Ant and Maven? I have never used either. I understand that they are …

java maven-2 ant build-management
this.getClass().getClassLoader().getResource("...") and NullPointerException

I have created a minimal maven project with a single child module in eclipse helios. In the src/test/resources …

eclipse maven-2 classloader
How do I execute a program using Maven?

I would like to have a Maven goal trigger the execution of a java class. I'm trying to migrate over …

maven-2 maven-plugin
Unable to install Maven on Windows: "JAVA_HOME is set to an invalid directory"

I followed the Maven tutorial to the letter but I still can't get Maven installed on Windows. When I run …

java maven-2
Maven compile with multiple src directories

Is there a way to compile multiple java source directories in a single maven project?

java maven-2
MAVEN_HOME, MVN_HOME or M2_HOME

What's the correct Maven environment variable name: MAVEN_HOME, MVN_HOME or M2_HOME? I've found some details about MAVEN_…

java maven maven-2 maven-3
I want to execute shell commands from Maven's pom.xml

I want to execute Linux shell commands with Maven. Here is what I tried: <plugin> <groupId>…

maven-2
Maven2 property that indicates the parent directory

I have a multi-modules project, like this one: main-project/ module1/ module2/ sub-module1/ sub-module2/ sub-module3/ ... module3/ module4/ ... I need to define …

maven-2 properties