maven pom文件格式
来源:互联网 发布:相机测量软件 编辑:程序博客网 时间:2024/06/04 19:47
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- The Basics -->
<groupId>...org.apache.maven</groupId>
<artifactId>project name...</artifactId>
<version>...1.0</version>
<packaging>...pom jar war ejb maven-plugin...</packaging>
<!-- classfier groupId:artifactId:packaging:classifier:version -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.0</version>
<!-- classfier -->
<type>jar</type>
<scope>compile provided runtime test system</scope>
<systemPath>is userd only if the dependency scope is system</systemPath>
<optional>when you use this project, you do not require this dependency in order to work correctly</optional>
</dependency>
...
</dependencies>
<parent>...</parent>
<dependencyManagement>...</dependencyManagement>
<modules>...</modules>
<properties>...</properties>
<!-- Build Settings -->
<build>...</build>
<reporting>...</reporting>
<!-- More Project Information -->
<name>...</name>
<description>...</description>
<url>...</url>
<inceptionYear>...</inceptionYear>
<licenses>...</licenses>
<organization>...</organization>
<developers>...</developers>
<contributors>...</contributors>
<!-- Environment Settings -->
<issueManagement>...</issueManagement>
<ciManagement>...</ciManagement>
<mailingLists>...</mailingLists>
<scm>...</scm>
<prerequisites>...</prerequisites>
<repositories>...</repositories>
<pluginRepositories>...</pluginRepositories>
<distributionManagement>...</distributionManagement>
<profiles>
<profile>
<activation>...</activation>
</profile>
...
</profiles>
</project>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- The Basics -->
<groupId>...org.apache.maven</groupId>
<artifactId>project name...</artifactId>
<version>...1.0</version>
<packaging>...pom jar war ejb maven-plugin...</packaging>
<!-- classfier groupId:artifactId:packaging:classifier:version -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.0</version>
<!-- classfier -->
<type>jar</type>
<scope>compile provided runtime test system</scope>
<systemPath>is userd only if the dependency scope is system</systemPath>
<optional>when you use this project, you do not require this dependency in order to work correctly</optional>
</dependency>
...
</dependencies>
<parent>...</parent>
<dependencyManagement>...</dependencyManagement>
<modules>...</modules>
<properties>...</properties>
<!-- Build Settings -->
<build>...</build>
<reporting>...</reporting>
<!-- More Project Information -->
<name>...</name>
<description>...</description>
<url>...</url>
<inceptionYear>...</inceptionYear>
<licenses>...</licenses>
<organization>...</organization>
<developers>...</developers>
<contributors>...</contributors>
<!-- Environment Settings -->
<issueManagement>...</issueManagement>
<ciManagement>...</ciManagement>
<mailingLists>...</mailingLists>
<scm>...</scm>
<prerequisites>...</prerequisites>
<repositories>...</repositories>
<pluginRepositories>...</pluginRepositories>
<distributionManagement>...</distributionManagement>
<profiles>
<profile>
<activation>...</activation>
</profile>
...
</profiles>
</project>
- maven pom文件格式
- maven pom文件格式
- maven POM
- Maven - POM
- Maven pom
- maven-pom
- Maven - POM
- Maven - POM
- Maven POM
- Maven pom
- maven pom
- maven pom
- maven的POM结构
- maven pom.xml详解
- maven配置,pom配置
- maven pom 详解
- MAVEN POM元素参考
- maven axis2 pom
- maven中的profile
- session
- java,关于Abstract一些题
- maven中的setting配置
- linux驱动学习(六) 应用中的linux驱动 platform_device
- maven pom文件格式
- maven学习笔记
- 数据库管理员
- Java实现控制网口打印机并完成丢单重打机制
- maven总结
- Surface Flinger boot flow in Android system
- makefile简介
- 程序人生-000-面试悲欢
- 详细介绍C++中的虚函数和动态联编