| POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2013 Michael Lasmanis.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>9</version>
</parent>
<groupId>com.lasmanis</groupId>
<artifactId>javapatterns</artifactId>
<version>1.1.4</version>
<packaging>jar</packaging>
<name>Design Patterns for Java</name>
<description>Design patterns and implementations for Java</description>
<url>http://oss.lasmanis.com/javapatterns</url>
<inceptionYear>2013</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git@github.com:michaellasmanis/javapatterns.git</connection>
<developerConnection>scm:git:git@github.com:michaellasmanis/javapatterns.git</developerConnection>
<url>scm:git:git@github.com:michaellasmanis/javapatterns.git</url>
</scm>
<issueManagement>
<url>https://github.com/michaellasmanis/javapatterns/issues</url>
<system>GitHub Issues</system>
</issueManagement>
<organization>
<name>Michael Lasmanis</name>
<url>http://lasmanis.com/opensource/</url>
</organization>
<developers>
<developer>
<id>mpl</id>
<name>Michael lasmanis</name>
<organization>Michael Lasmanis</organization>
<email>michael@lasmanis.com</email>
<url>http://lasmanis.com/</url>
</developer>
</developers>
<prerequisites>
<maven>${maven.version}</maven>
</prerequisites>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<clirr.version>2.6.1</clirr.version>
<doxia.version>1.6</doxia.version>
<javadoc.version>2.10.1</javadoc.version>
<jgitflow.version>1.0-m4.3</jgitflow.version>
<junit.version>4.12</junit.version>
<maven.version>2.2.1</maven.version>
<maven-clean.version>2.6.1</maven-clean.version>
<maven-compiler.version>3.2</maven-compiler.version>
<maven-deploy.version>2.8.2</maven-deploy.version>
<maven-gpg.version>1.5</maven-gpg.version>
<maven-install.version>2.5.2</maven-install.version>
<maven-jar.version>2.5</maven-jar.version>
<maven-project-reports.version>2.7</maven-project-reports.version>
<maven-resources.version>2.7</maven-resources.version>
<maven-site.version>3.4</maven-site.version>
<maven-source.version>2.4</maven-source.version>
<surefire.version>2.18.1</surefire.version>
<s3-wagon.version>1.1.22</s3-wagon.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>${jgitflow.version}</version>
<configuration>
<enableSshAgent>true</enableSshAgent>
<autoVersionSubmodules>true</autoVersionSubmodules>
<pushFeatures>true</pushFeatures>
<pushReleases>true</pushReleases>
<pushHotfixes>true</pushHotfixes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler.version}</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<compilerArgument>-Xlint:all</compilerArgument>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar.version}</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<configuration>
<show>private</show>
<nohelp>true</nohelp>
<fixTags>all</fixTags>
<links>
<link>http://docs.oracle.com/javaee/7/api/</link>
</links>
<doctitle>${project.name} ${project.version}</doctitle>
<windowtitle>${project.name} ${project.version}</windowtitle>
<testDoctitle>${project.name} ${project.version} Tests</testDoctitle>
<testWindowtitle>${project.name} ${project.version} Tests</testWindowtitle>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${maven-project-reports.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site.version}</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-markdown</artifactId>
<version>${doxia.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${clirr.version}</version>
<configuration>
<failOnWarning>true</failOnWarning>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.kuali.maven.wagons</groupId>
<artifactId>maven-s3-wagon</artifactId>
<version>${s3-wagon.version}</version>
</extension>
</extensions>
</build>
<!--
<profiles>
<profile>
<id>releaseBranchPrefix-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
-->
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadoc.version}</version>
<configuration>
<show>protected</show>
<nohelp>false</nohelp>
<links>
<link>http://docs.oracle.com/javaee/6/api/</link>
</links>
<doctitle>${project.name} ${project.version}</doctitle>
<windowtitle>${project.name} ${project.version}</windowtitle>
<testDoctitle>${project.name} ${project.version} Tests</testDoctitle>
<testWindowtitle>${project.name} ${project.version} Tests</testWindowtitle>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${clirr.version}</version>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<site>
<id>aws-website</id>
<url>s3://oss.lasmanis.com/javapatterns</url>
</site>
</distributionManagement>
</project>
|