Top "Maven" questions

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

How do I add a Maven dependency in Eclipse?

I don't know how to use Maven at all. I've been developing for a couple years with Eclipse and haven't …

java eclipse maven dependency-management
Sample settings.xml for maven

How to configure settings.xml in Maven? Also, please share a sample settings.xml .

maven maven-2
"webxml attribute is required" error in Maven

I am getting the following error: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing …

maven war
run main class of Maven project

I've created a simple console Java application that is built with Maven. Is there a way that the main class (…

java maven maven-2 maven-exec-plugin
How do you specify the Java compiler version in a pom.xml file?

I wrote a maven code on netbeans that has approximately more than 2000 lines. When I compile it on netbeans, everything …

java maven pom.xml
Maven: Non-resolvable parent POM

I have my maven project setup as 1 shell projects and 4 children modules. When I try to build the shell. I …

maven module build-automation parent-child
Best practices for copying files with Maven

I have config files and various documents that I want to copy from the dev environment to the dev-server directory …

maven maven-2 build-process release-management
Oracle JDBC ojdbc6 Jar as a Maven Dependency

I cannot seem to get Maven to bundle the ojdbc6.jar file into my project's war file. I have it …

oracle maven jdbc war
How to set specific java version to Maven

On my machine I have two java versions installed: (1.6 and 1.7 installed manually by me). I need both of them for …

maven java-7 java-6
Problems using Maven and SSL behind proxy

I just downloaded Maven and was trying to run the simple command found on the "Maven in Five Minutes" page (…

java maven ssl proxy