| POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.javamoney</groupId>
<artifactId>javamoney-parent</artifactId>
<version>1.0</version>
</parent>
<artifactId>moneta</artifactId>
<version>1.0</version>
<packaging>bundle</packaging>
<name>Moneta (JSR 354 RI)</name>
<url>http://javamoney.org</url>
<inceptionYear>2012</inceptionYear>
<description>JSR 354 provides an API for representing, transporting, and performing comprehensive calculations with
Money and Currency.
This module implements JSR 354.
</description>
<organization>
<name>JavaMoney</name>
<url>http://javamoney.org</url>
</organization>
<licenses>
<license>
<name>Apache 2 License</name>
<comments>Spec</comments>
<url>LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<jsr.version>${project.version}</jsr.version>
<jdkVersion>1.8</jdkVersion>
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
<moduleDir>.</moduleDir>
<basedir>.</basedir>
<!-- dependency versions -->
<testng.version>6.8.5</testng.version>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
<ciManagement>
<system>Travis CI</system>
<url>https://travis-ci.org/JavaMoney/jsr354-ri</url>
</ciManagement>
<mailingLists>
<mailingList>
<name>JSR354 Issues List</name>
<subscribe>https://java.net/projects/javamoney/lists</subscribe>
<unsubscribe>https://java.net/projects/javamoney/lists</unsubscribe>
<archive>https://java.net/projects/javamoney/lists/issues/archive</archive>
<post>issues@javamoney.java.net</post>
</mailingList>
<mailingList>
<name>JSR354 Public Mailing List</name>
<subscribe>https://java.net/projects/javamoney/lists</subscribe>
<unsubscribe>https://java.net/projects/javamoney/lists</unsubscribe>
<archive>http://java.net/projects/javamoney/lists/jcurrency_mail/archive</archive>
<post>jcurrency_mail@javamoney.java.net</post>
</mailingList>
</mailingLists>
<issueManagement>
<system>JIRA</system>
<url>http://java.net/jira/browse/JAVAMONEY</url>
</issueManagement>
<prerequisites>
<maven>3.0.4</maven>
</prerequisites>
<scm>
<connection>scm:git:https://github.com/JavaMoney/jsr354-ri.git</connection>
<tag>master</tag>
<developerConnection>scm:git:https://github.com/JavaMoney/jsr354-ri.git</developerConnection>
<url>https://github.com/JavaMoney/jsr354-ri</url>
</scm>
<distributionManagement>
<repository>
<id>bintray-release</id>
<name>oss-jfrog-artifactory-release</name>
<url>https://oss.jfrog.org/artifactory/oss-release-local</url>
</repository>
<snapshotRepository>
<id>bintray-snapshot</id>
<name>oss-jfrog-artifactory-snapshot</name>
<url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-release</id>
<name>libs-release</name>
<url>http://oss.jfrog.org/artifactory/libs-release</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bintray-snapshot</id>
<name>libs-snapshot</name>
<url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
</repository>
</repositories>
<profiles>
<profile>
<id>travis</id>
<activation>
<property>
<name>env.TRAVIS</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<!-- Usage: mvn clean deploy -Dgpg.passphrase=yourpassphrase ; Or sign
already deployed artifact: mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom
-Dfile=target/myapp-1.0.jar -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
-DrepositoryId=sonatype-nexus-staging -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<defaultKeyring>false</defaultKeyring>
<keyname>0E3BCC9A</keyname>
</configuration>
<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-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<!-- phase>verify</phase -->
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>documentation</id>
<build>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.2</version>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-pdf</artifactId>
<version>1.5.0-alpha.6</version>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>src/main/asciidoc</sourceDirectory>
<baseDir>${project.basedir}</baseDir>
<imagesDir>src/main/asciidoc/images/</imagesDir>
<embedAssets>true</embedAssets>
<!-- eruby>erubis</eruby -->
</configuration>
<executions>
<execution>
<id>output-html</id>
<phase>prepare-package</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<outputDirectory>target/docs</outputDirectory>
<sourceHighlighter>coderay</sourceHighlighter>
<backend>html</backend>
</configuration>
</execution>
<execution>
<id>output-pdf</id>
<phase>prepare-package</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>pdf</backend>
<!-- WARNING callout bullets don't yet work with CodeRay -->
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<pagenums/>
<toc/>
<idprefix/>
<idseparator>-</idseparator>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.money</groupId>
<artifactId>money-api</artifactId>
<version>${jsr.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<build>
<defaultGoal>install</defaultGoal>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.4</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.2</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.0.4</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.7.0</version>
</requireJavaVersion>
<!-- <bannedDependencies> <excludes> <exclude>commons-logging:*</exclude>
</excludes> </bannedDependencies> -->
<requirePluginVersions>
<banLatest>true</banLatest>
<banRelease>true</banRelease>
<banSnapshots>true</banSnapshots>
<!-- <unCheckedPluginList>org.codehaus.mojo:sonar-maven-plugin</unCheckedPluginList> -->
</requirePluginVersions>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!-- ======================================================= -->
<!-- Packaging (OSGi bundle) -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.2.201409121644</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<inherited>true</inherited>
<reportSets>
<reportSet>
<inherited>true</inherited>
<reports>
<report>aggregate</report>
</reports>
<configuration>
<detectLinks>true</detectLinks>
<!-- <links> <link>http://static.springsource.org/spring/docs/${spring.version}/javadoc-api</link>
<link>http://static.springsource.org/spring-security/site/docs/3.0.x/apidocs</link>
<link>http://commons.apache.org/lang/api-2.5</link> <link>http://docs.oracle.com/javaee/5/api</link>
</links> -->
<!-- excludePackageNames>blabla</excludePackageNames -->
<keywords>true</keywords>
<linksource>true</linksource>
<!-- overview>${basedir}/overview.html</overview -->
<source>${project.build.sourceCompilerLevel}</source>
<!-- stylesheetfile>${basedir}/src/site/css/money-jdoc.css</stylesheetfile -->
<verbose>true</verbose>
<aggregate>true</aggregate>
<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>org.umlgraph</groupId>
<artifactId>umlgraph</artifactId>
<version>5.6</version>
</docletArtifact>
<show>private</show>
<additionalparam>
-Xdoclint:none
-inferrel -inferdep -quiet -hide java.*
-collpackages java.util.*
-postfixpackage -nodefontname Tahoma
-nodefontsize 9
-nodefontpackagesize 7 -outputencoding UTF-8
</additionalparam>
</configuration>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.15</version>
<configuration>
<aggregate>true</aggregate>
<xrefLocation>${project.reporting.outputDirectory}/../xref-test</xrefLocation>
<linkXRef>true</linkXRef>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<targetJdk>${maven.compile.targetLevel}</targetJdk>
<format>xml</format>
<linkXRef>true</linkXRef>
<aggregate>true</aggregate>
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<aggregate>true</aggregate>
<encoding>${project.build.sourceEncoding}</encoding>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>Important fixes that have to be done until the
next
release
</displayName>
<tags>
<tag>
<matchString>FIXME</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
<tagClass>
<displayName>Things to verify and to check</displayName>
<tags>
<tag>
<matchString>// check:</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
<tagClass>
<displayName>Just things to do</displayName>
<tags>
<tag>
<matchString>todo</matchString>
<matchType>ignoreCase</matchType>
</tag>
<tag>
<matchString>@todo</matchString>
<matchType>ignoreCase</matchType>
</tag>
<tag>
<matchString>XXX</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
<configuration>
<aggregate>true</aggregate>
<linkJavadoc>true</linkJavadoc>
<aggregate>true</aggregate>
<javadocDir>${project.name}/apidocs</javadocDir>
<!-- stylesheet>${basedir}/src/site/css/javamoneys-jdoc.css</stylesheet -->
<windowTitle>JSR 354 - Java Money Sources</windowTitle>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.6.3.201306030806</version>
<configuration>
<destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile>
<dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
<xmlOutput>true</xmlOutput>
<effort>Max</effort>
<threshold>Low</threshold>
<failOnError>false</failOnError>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
<xrefLocation>xref/</xrefLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation>
<xmlOutput>true</xmlOutput>
<effort>Max</effort>
<threshold>Low</threshold>
<failOnError>false</failOnError>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlOutputDirectory>target/site</findbugsXmlOutputDirectory>
<xrefLocation>xref/</xrefLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</plugin>
</plugins>
</reporting>
</project>
|