Top "Maven" questions

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

Difference between maven scope compile and provided for JAR packaging

What is the difference between the maven scope compile and provided when artifact is built as a JAR? If it …

maven jar
Java compiler level does not match the version of the installed Java project facet

I have created a New Dynamic Project under Eclipse Helios Version, where my JRE Version is set to 1.6. I have …

eclipse maven m2eclipse
What are Maven goals and phases and what is their difference?

What is the difference/relation between Maven goals and phases? How they are related to each other?

maven
Fatal error compiling: invalid target release: 1.8 -> [Help 1]

Similar problem like one posted on invalid target release: 1.7 but after following the blog my problem is still unresolved. Failed …

java maven
How to get absolute path to file in /resources folder of your project

Assume standard maven setup. Say in your resources folder you have a file abc. In Java, how can I get …

java maven file resources
web.xml is missing and <failOnMissingWebXml> is set to true

Consider: When I create a simple Maven project in Eclipse I am getting this error: web.xml is missing and &…

eclipse maven jakarta-ee m2eclipse
Maven package/install without test (skip tests)

I am trying to package my project. But, it automatically runs the tests previous do performing the packaging. The tests …

java maven
How do I use Maven through a proxy?

I want to share my experience of using maven through a proxy. You would most likely face exceptions and messages …

maven proxy
How to configure encoding in Maven?

When I run maven install on my multi module maven project I always get the following output: [WARNING] File encoding …

java maven encoding maven-2 maven-3
Compiling Java 7 code via Maven

My pom file lists <project> <build> <pluginManagement> <plugins> <plugin> <…

java maven