POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Bean Validation API
~
~ License: Apache License, Version 2.0
~ See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
-->
<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>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.0.Beta1</version>
<packaging>jar</packaging>
<name>Bean Validation API</name>
<url>http://beanvalidation.org</url>
<description>
Bean Validation API
</description>
<developers>
<developer>
<id>epbernard</id>
<name>Emmanuel Bernard</name>
<email>emmanuel@hibernate.org</email>
<organization>JBoss, by Red Hat</organization>
<url>http://in.relation.to/emmanuel-bernard/</url>
</developer>
<developer>
<id>emmanuelbernard</id>
<name>Emmanuel Bernard</name>
<email>emmanuel@hibernate.org</email>
<organization>JBoss, by Red Hat</organization>
<url>http://in.relation.to/emmanuel-bernard/</url>
</developer>
<developer>
<id>hardy.ferentschik</id>
<name>Hardy Ferentschik</name>
<email>hferents@redhat.com</email>
<organization>JBoss, by Red Hat</organization>
<url>http://in.relation.to/hardy-ferentschik/</url>
</developer>
<developer>
<id>gunnar.morling</id>
<name>Gunnar Morling</name>
<email>gunnar@hibernate.org</email>
<organization>JBoss, by Red Hat</organization>
<url>http://in.relation.to/gunnar-morling/</url>
</developer>
<developer>
<id>guillaume.smet</id>
<name>Guillaume Smet</name>
<email>guillaume.smet@hibernate.org</email>
<organization>JBoss, by Red Hat</organization>
<url>http://in.relation.to/guillaume-smet/</url>
</developer>
</developers>
<issueManagement>
<system>JIRA</system>
<url>https://hibernate.atlassian.net/projects/BVAL/</url>
</issueManagement>
<inceptionYear>2007</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/beanvalidation/beanvalidation-api.git</connection>
<developerConnection>scm:git:git@github.com:beanvalidation/beanvalidation-api.git</developerConnection>
<url>https://github.com/beanvalidation/beanvalidation-api</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<repository>
<id>jboss-releases-repository</id>
<name>JBoss Releases Repository</name>
<url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<properties>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<!--
Creates a report by running "mvn japicmp:cmp"
Note: you need to install the jars before running the japicmp command.
-->
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.9.3</version>
<configuration>
<oldVersion>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>1.1.0.Final</version>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
</file>
</newVersion>
<parameter>
<onlyModified>true</onlyModified>
</parameter>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<instructions>
<Export-Package>
javax.validation.*;version="${project.version}",
</Export-Package>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<forkMode>once</forkMode>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<links>
<link>http://docs.oracle.com/javase/8/docs/api/</link>
</links>
<packagesheader>Bean Validation API Packages</packagesheader>
<doctitle>Bean Validation API ${project.version}</doctitle>
<windowtitle>Bean Validation API ${project.version}</windowtitle>
<bottom>
<![CDATA[Copyright © ${project.inceptionYear}-{currentYear} <a href="http://redhat.com">Red Hat Inc.</a> All Rights Reserved.
Released under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache Software License 2.0</a>.]]>
</bottom>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
<remoteTagging>true</remoteTagging>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
<header>${project.basedir}/src/main/resources/license.header</header>
<strictCheck>true</strictCheck>
<headerDefinitions>
<headerDefinition>${project.basedir}/src/main/resources/java-header-style.xml</headerDefinition>
<headerDefinition>${project.basedir}/src/main/resources/xml-header-style.xml</headerDefinition>
</headerDefinitions>
<mapping>
<java>JAVA_CLASS_STYLE</java>
<xml>XML_FILE_STYLE</xml>
<xsd>XML_FILE_STYLE</xsd>
</mapping>
<includes>
<include>**/*.java</include>
<include>**/*.xml</include>
<include>**/*.xsd</include>
</includes>
</configuration>
<executions>
<execution>
<id>license-headers</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<properties>
<createChecksum>true</createChecksum>
</properties>
</profile>
</profiles>
</project>
|