background preloader

Maven

Facebook Twitter

Available Plugins. Maven is - at its heart - a plugin execution framework; all work is done by plugins. Looking for a specific goal to execute? This page lists the core plugins and others. There are the build and the reporting plugins: Build plugins will be executed during the build and they should be configured in the <build/> element from the POM.Reporting plugins will be executed during the site generation and they should be configured in the <reporting/> element from the POM. Supported By The Maven Project To see the most up-to-date list browse the Maven repository, specifically the org/apache/maven/plugins subfolder. . * Build or Reporting plugin There are also some sandbox plugins into our source repository. Previous archived versions of plugins reference documentations are located here. Retired Outside The Maven Land At codehaus.org There are also many plug-ins available at the Mojo project at Codehaus.

Calling Java methods from PhoneGap - phonegap. Index of /maven2/com/sun/ Index of /com. POM Reference. Introduction The POM 4.0.0 XSD and descriptor reference documentation What is the POM? POM stands for "Project Object Model". It is an XML representation of a Maven project held in a file named pom.xml. When in the presence of Maven folks, speaking of a project is speaking in the philosophical sense, beyond a mere collection of files containing code. A project contains configuration files, as well as the developers involved and the roles they play, the defect tracking system, the organization and licenses, the URL of where the project lives, the project's dependencies, and all of the other little pieces that come into play to give code life.

It is a one-stop-shop for all things concerning the project. Quick Overview This is a listing of the elements directly under the POM's project element. The Basics The POM contains all necessary information about a project, as well as configurations of plugins to be used during the build process. Maven Coordinates POM Relationships Dependencies Exclusions.

Introduction to the Dependency Mechanism. Dependency management is one of the features of Maven that is best known to users and is one of the areas where Maven excels. There is not much difficulty in managing dependencies for a single a project, but when you start getting into dealing with multi-module projects and applications that consist of tens or hundreds of modules this is where Maven can help you a great deal in maintaining a high degree of control and stability. Transitive Dependencies Transitive dependencies are a new feature in Maven 2.0. This allows you to avoid needing to discover and specify the libraries that your own dependencies require, and including them automatically. This feature is facilitated by reading the project files of your dependencies from the remote repositories specified. In general, all dependencies of those projects are used in your project, as are any that the project inherits from its parents, or from its dependencies, and so on.

Dependency Scope There are 6 scopes available: Dependency Management. Sun tools.jar.