<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <!--反写的公司网址+项目名--> <groupId>cn.o</groupId> <!--项目名+模块名--> <artifactId>scm-standard</artifactId> <!--默认是jar,可以是pom,war,zip--> <packaging>war</packaging> <!--第一个0表示大版本号 第二个0表示分支版本号 第三个0表示小版本号 snapshot:快照 alpha:内部测试 beta:公测 release:稳定 ga正式公布 ----> <version>0.0.1-SNAPSHOT</version> <!--项目名称--> <name>scm-standard</name> <url>http://maven.apache.org</url> <properties> <!--指定Maven用什么编码来读取源码及文档 --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <!--指定Maven用什么编码来呈现站点的html文件 --> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> </properties> <!-- 指定maven仓库地址 59.42.53.226 --> <repositories> <repository> <id>nexus</id> <name>Team Nexus Repository</name> <url>http://59.42.53.226:8888/nexus/content/groups/public</url> </repository> <repository> <id>jwt</id> <name>Team jwt Repository</name> <url>http://repo1.maven.org/maven2/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>nexus</id> <name>Team Nexus Repository</name> <url>http://59.42.53.226:8888/nexus/content/groups/public</url> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>cn.o</groupId> <artifactId>activation</artifactId> <version>1.1</version> </dependency> </dependencies> <!--插件列表--> <build> <finalName>scm-standard</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build> </project>