maven 可以运行site 的pom.xml_雪落无声_百度空间
<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>kiss.demo.2.2.3</groupId>
<artifactId>kiss.demo.2.2.3</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<url>http://maven.ic.bingosoft.net:8886/</url>
<name>KISS 2.2.3 演示工程</name>
<description>品高软件行业中心KISS 开发框架2.2.3演示工程</description>

<build>
<directory>target</directory>
<finalName>bingo.kiss.demo</finalName>
<sourceDirectory>src/java</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<outputDirectory>WebRoot/WEB-INF/classes</outputDirectory>
<testOutputDirectory>
WebRoot/WEB-INF/classes
</testOutputDirectory>

<testResources>
<testResource>
<directory>src/resources</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
</testResources>
<resources>
<resource>
<directory>src/resources</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<warSourceDirectory>WebRoot</warSourceDirectory>
<dependentWarExcludes>
**/jdbc.properties,**/hibernate.cfg.xml,**/sql-map-config.xml,**/web.xml,WEB-INF/classes/META-INF/**
</dependentWarExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- 配置site 的国际化,默认为en,更改为zh_CN,以及设置编码格式,默认utf-8 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-6</version>
<configuration>
<locales>zh_CN</locales>
<outputEncoding>utf-8</outputEncoding>
</configuration>
</plugin>
<!-- dependency插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.1</version>
</plugin>
<!-- resource插件, 设定编码 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.3</version>
<configuration>
<encoding>utf-8</encoding>
<charset>utf-8</charset>
</configuration>
</plugin>
</plugins>
</build>
<!-- 问题追踪 
<issueManagement>
<system>JIRA</system>
<url>http://wiki.bingosoft.net:8887/</url>
</issueManagement>
-->
<dependencies>
<dependency>
<groupId>bingo.common</groupId>
<artifactId>bingo-kiss</artifactId>
<version>2.2.3</version>
<exclusions>
<exclusion>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<!-- Build Settings
-->
<!-- More Project Information -->
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>

<organization>
<name>Bingosoft Ic Infrastructure</name>
<url>http://www.bingosoft.net</url>
</organization>

<developers>
<developer>
<id>guoxp</id>
<name>guoxp</name>
<email>guorabbit@126.com</email>
<url>http://hi.baidu.com/guorabbit</url>
<organization>UFO</organization>
<organizationUrl>http://www.UFO.org</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+8</timezone>
<properties>
<picUrl>http://www.mxjava.com/logo.gif</picUrl>
</properties>
</developer>
</developers>

<contributors>
<contributor>
<name>guorabbit</name>
<email>guorabbit@126.com</email>
<url>http://www.blogjava.net/sitinspring</url>
<organization>Infrastucture</organization>
<organizationUrl>
http://AlienOrganization.com
</organizationUrl>
<roles>
<role>tester</role>
</roles>
<timezone>-5</timezone>
<properties>
<gtalk>some.name@gmail.com</gtalk>
</properties>
</contributor>
</contributors>

<repositories>
<repository>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<id>codehausSnapshots</id>
<name>Codehaus Snapshots</name>
<url>http://maven.ic.bingosoft.net:8886/</url>
<layout>default</layout>
</repository>
</repositories>

<!-- Environment Settings -->
<!-- 邮件列表 -->
<mailingLists>
<mailingList>
<name>User List</name>
<subscribe>user-subscribe@127.0.0.1</subscribe>
<unsubscribe>user-unsubscribe@127.0.0.1</unsubscribe>
<post>user@127.0.0.1</post>
<archive>http://127.0.0.1/user/</archive>
<otherArchives>
<otherArchive>
http://base.google.com/base/1/127.0.0.1
</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<!-- 代码库 -->
<scm>
<connection>
scm:svn:http://svn.bingosoft.net/ufo/
</connection>
<developerConnection>
scm:svn:http://svn.bingosoft.net/ufo/
</developerConnection>
<url>
http://svn.bingosoft.net/ufo/
</url>
</scm>
<!-- 添加报表 -->
<reporting>
<plugins>
<!-- Javadocs
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.4</version>
<configuration>
<charset>utf-8</charset>
<encoding>utf-8</encoding>
<minmemory>800m</minmemory>
<maxmemory>1g</maxmemory>
</configuration>
</plugin>
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jxr-maven-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>
maven-project-info-reports-plugin
</artifactId>
<version>2.1.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- 单元测试报表 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
</plugin>
<!-- 测试覆盖率
<plugin>
<artifactId>maven-clover-plugin</artifactId>
</plugin>
-->
<!-- 代码分析 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
<configuration>
<sourcejdk>1.5</sourcejdk>
<targetjdk>1.5</targetjdk>
<locales>zh_CN</locales>
<charset>utf-8</charset>
<outputEncoding>utf-8</outputEncoding>
<rulesets>
<ruleset>/rulesets/basic.xml</ruleset>
<ruleset>/rulesets/controversial.xml</ruleset>
</rulesets>
<format>xml</format>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- 更改与配置管理 changes-maven-plugin插件使用一种特别的XML文件(src/changes/changes.xml) 来记录每次发布的版本和更改。-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changes-maven-plugin</artifactId>
<configuration>
<encoding>utf-8</encoding>
<charset>utf-8</charset>
</configuration>
</plugin>
<!-- taglist报表 会生成一个包含所有标注上@todo或TODO的项目的列表 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.3</version>
<configuration>
<encoding>utf-8</encoding>
<charset>utf-8</charset>
</configuration>
</plugin>
</plugins>
</reporting>
</project>




郑重声明:资讯 【maven 可以运行site 的pom.xml_雪落无声_百度空间】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——