Maven Pom Common Configuration parsing table __maven

Source: Internet
Author: User
Tags deprecated

1, <project> element is the root element of Pom.xml, the following list of all its child elements

Parent

The location of the parent project. The location of the parent project is specified by the group Id,artifact ID and version.

Modelversion

Declaring Pom.xml File compliant versions

GroupId

A globally unique project identifier. Typically use fully qualified Baonilai and other project compartments (e.g., org.apache.maven)

Artifactid

A unique product identifier within a given gorupid. Artifact is something that is exported by the project or used by the project. For example, the artifacts from the MAVEN project includes: Jar files, war files, ear files, and so on.

Packaging

The type of artifact that this project outputs, such as Jar,war,ear Pom. Plug-ins can create their own packaging, so there are no possible types listed here.

Name

The name of the project

Version

The current version of the artifact that this project outputs.

Description

A detailed description of this project, which is used by Maven to describe the project, such as a Web site, where needed. This element can use CDATA so that description can contain HTML tags.

Url

The URL of the project home page.

Prerequisites

Describe the prerequisites for building the environment for this project

Issuemanagement

Describes publishing management system information for this project

Cimanagement

Continuous integration information for this project

Inceptionyear

The start year for this project, specified with a four-bit integer. Used when copyright information is generated

MailingLists

Mailing list information for a project

Developers

Development team of the project

Contributors

Contributors to the project, but not the development team

Licenses

Permission for this project. The license here is for this project, not for dependencies. If there are multiple licenses, then the user can select one of them, not all.

Scm

Specify the source control system used by this project, such as SVN, and so on. For continuous integration

Organization

Describes the organization to which this project belongs.

Build

The information required to build this project.

Profiles

A list of local build files for your project, and if used, you can change the default build process.

Modules

A module (subproject) as part of this project.

Repositories

remote warehouses for dependencies and extensions.

Pluginrepositories

Build the remote repository for the required plug-ins.

Dependencies

A list of all dependencies for this project. These dependencies are used during the build process to construct the required classpath. These dependencies are downloaded automatically at build time.

Reports

Deprecated. Maven now ignores this element.

Reporting

This element contains the specifications for plug-ins that generate reports in the project site that MAVEN produces. These reports run when the MVN site command is executed, and all reports appear on the navigation bar.

Dependencymanagement

Dependency information for all projects is inherited from this. The dependencies in this section are not resolved immediately. In fact, when a Pom inherits from this uses GroupID and Artifactid to define a dependency, the dependency definition here is used when version information and other information are not specified.

Distributionmanagement

Distribution information for this project.

Properties

The POM can be used as an alternative, as well as for resource filtering.

2, Parent

Artifactid

Artifact identifier of the parent project

GroupId

Group identifier of the parent project

Version

Version of the parent project

RelativePath

The relative path of the Pom.xml file for the parent project. The default value is.. /pom.xml. Maven first looks up the Pom file for the parent project from the current build project, and then from the local repository, most from the remote repository. RelativePath allows you to choose a different location.

3. Prerequisites Project Prerequisites

Maven

The minimum version of MAVEN required to build this project

4. Issuemanagement is used to manage the release and tracking of this project (for the time being not aware of its purpose)

System

The minimum version of MAVEN required to build this project

Url

The URL of the publication management system used by this project.



5, Cimanagement

System

The name of the continuous integration system, such as Hudson.

Url

The URL of the continuous integration system used by this project, if there is a web interface.

Notifiers

Configure user information and notification mode, when the build succeeds in notifying the developer/user,

6, notifier Configuration notification method, when the automatic build interrupts, notify the user/developer, for continuous integration.

Type

Mechanism for posting notifications

Sendonerror

Whether to send error notifications

Sendonfailure

Whether to send failure notification

Sendonsuccess

Whether to send a success notification

Sendonwarning

Whether to send warning notifications

Address

Deprecated. Address to send a notification, usually an email address

Configuration

Additional configuration information

7, mailinglist the mailing list of this item. The automatically generated site will refer to this information for continuous integration.

Name

the names of the mailing lists

Subscribe /p>

Subscribe to the email address or connection for this mailing list. If it is an email address, the mailto will be generated automatically when the document is generated: connection.

Unsubscribe

Unsubscribe email addresses or connections for this mailing list. If it is an email address, the mailto will be generated automatically when the document is generated: connection.

Post

Can post to an email address or connection to this mailing list. If it is an email address, the mailto will be generated automatically when the document is generated: connection. The

Archive

Can browse to the URL of the message list archive information.

otherarchives

Optional alternate URLs for browsing the mailing archive Information list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.