Documentation and Books

Recent site activity

Apache Maven

What is Apache Maven?

Maven, a Yiddish word meaning accumulator of knowledge, was originally started as an attempt to simplify the build processes in the Jakarta Turbine project. There were several projects each with their own Ant build files that were all slightly different and JARs were checked into CVS. We wanted a standard way to build the projects, a clear definition of what the project consisted of, an easy way to publish project information and a way to share JARs across several projects.

The result is a tool that can now be used for building and managing any Java-based project. We hope that we have created something that will make the day-to-day work of Java developers easier and generally help with the comprehension of any Java-based project.

Maven's Objectives

Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with:

  • Making the build process easy
  • Providing a uniform build system
  • Providing quality project information
  • Providing guidelines for best practices development
  • Allowing transparent migration to new features

My tutorials :

None

3rd party tutorials :

Software and downloads :

None

General questions and answers :

Common problems and solutions :

Techniques and common solutions:

How to set the context root of a web application in an EAR?
How to change the location of the local repository?
How can i see the complete depence tree of my project (including non-visible dependencies)?
How can i see what version of Maven i have?
How to add Maven support to Eclipse?
How to add development, test, acceptation, production settings to Maven?
How to create a dependency with a second project?
How can i make Maven download also the source code?
How can i make Maven ignore test failures in the build process?
How to manually add a library to my local Maven repository?
How to exclude a dependency from a dependency (sort of a implicit dependency)?
How to generate Javadoc of my code and test code including links to other API's?
Where can i find an on-line maven repository?
Is it possible to run maven in offline mode?

Project site & reference documentation:

None