blob: c3bb3d6c0e12e326d26ff7fb3dea5f164df0c9f3 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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.apache</groupId>
<artifactId>apache</artifactId>
<version>18</version>
</parent>
<groupId>org.apache.joshua</groupId>
<artifactId>joshua-incubating</artifactId>
<packaging>jar</packaging>
<version>6.2-SNAPSHOT</version>
<name>Apache Joshua Machine Translation Toolkit</name>
<description>Joshua is an open-source statistical machine
translation decoder for phrase-based, hierarchical,
and syntax-based machine translation, written in Java.
</description>
<url>http://joshua.incubator.apache.org</url>
<inceptionYear>2016</inceptionYear>
<properties>
<slf4j.version>1.7.21</slf4j.version>
<findbugs.version>3.0.4</findbugs.version>
<apache-rat-plugin.version>0.12</apache-rat-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
<checksum-maven-plugin.version>1.3</checksum-maven-plugin.version>
<maven-scm-provider-gitexe.version>1.9.5</maven-scm-provider-gitexe.version>
<maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version>
<maven-assembly-plugin.version>3.0.0</maven-assembly-plugin.version>
<javac.src.version>1.8</javac.src.version>
<javac.target.version>1.8</javac.target.version>
</properties>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<organization>
<name>The Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
<developers>
<developer>
<id>magicaltrout</id>
<name>Tom Barber</name>
<email>tom [at] analytical-labs [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>tdomhan</id>
<name>Tobias Domhan</name>
<email>tdomhan [at] gmail [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>thammegowda</id>
<name>Thamme Gowda</name>
<email>tgowdan [at] gmail [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>mhedderich</id>
<name>Michael Hedderich</name>
<email>mhedderich [at] apache [dot] org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>johnhew</id>
<name>John Hewitt</name>
<email>johnhew [at] seas [dot] upenn [dot] edu</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>fhieber</id>
<name>Felix Hieber</name>
<email>felix [dot] hieber [at] gmail [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>mattmann</id>
<name>Chris Mattman</name>
<email>chris [dot] a [dot] mattmann [at] jpl [dot] nasa [dot] gov</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>lewismc</id>
<name>Lewis John McGibbney</name>
<email>lewismc [at] apache [dot] org</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>mjpost</id>
<name>Matt Post</name>
<email>post [at] cs [dot] jhu [dot] edu</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>hsaputra</id>
<name>Henry Saputra</name>
<email>henry [dot] saputra [at] gmail [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>kellen</id>
<name>Kellen Sunderland</name>
<email>kellen [dot] sunderland [at] gmail [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>tommaso</id>
<name>Tommaso Teofili</name>
<email>tommaso [dot] teofili [at] gmail [dot] com</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
<developer>
<id>mthomas</id>
<name>Max Thomas</name>
<email>max [at] maxthomas [dot] io</email>
<roles>
<role>Committer</role>
<role>PMC Member</role>
</roles>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>Dev Mailing List</name>
<post>dev[at]joshua[dot]incubator[dot]apache[dot]org</post>
<subscribe>dev-subscribe[at]joshua[dot]incubator[dot]apache[dot]org</subscribe>
<unsubscribe>dev-unsubscribe[at]joshua[dot]incubator[dot]apache[dot]org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/incubator-joshua-dev/</archive>
</mailingList>
<mailingList>
<name>User Mailing List</name>
<post>user[at]joshua[dot]incubator[dot]apache[dot]org</post>
<subscribe>user-subscribe[at]joshua[dot]incubator[dot]apache[dot]org</subscribe>
<unsubscribe>user-unsubscribe[at]joshua[dot]incubator[dot]apache[dot]org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/incubator-joshua-user/</archive>
</mailingList>
<mailingList>
<name>Commits Mailing List</name>
<post>commits[at]joshua[dot]incubator[dot]apache[dot]org</post>
<subscribe>commits-subscribe[at]joshua[dot]incubator[dot]apache[dot]org</subscribe>
<unsubscribe>commits-unsubscribe[at]joshua[dot]incubator[dot]apache[dot]org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/incubator-joshua-commits/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/incubator-joshua.git</connection>
<developerConnection>scm:git:http://git-wip-us.apache.org/repos/asf/incubator-joshua.git</developerConnection>
<url>https://git-wip-us.apache.org/repos/asf/incubator-joshua.git</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>JIRA</system>
<url>https://issues.apache.org/jira/browse/JOSHUA</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://builds.apache.org/job/joshua_master/</url>
</ciManagement>
<build>
<defaultGoal>install</defaultGoal>
<directory>target</directory>
<outputDirectory>${basedir}/target/classes</outputDirectory>
<finalName>${project.artifactId}-${project.version}</finalName>
<testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<effort>Max</effort>
<failOnError>true</failOnError>
<includeTests>true</includeTests>
<maxRank>16</maxRank>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven-release-plugin.version}</version>
<configuration>
<preparationGoals>install</preparationGoals>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
<tagNameFormat>apache-joshua-@{project.version}</tagNameFormat>
<arguments>-Prelease</arguments>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>${maven-scm-provider-gitexe.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
<inherited>true</inherited>
<configuration>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<executions>
<execution>
<id>assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>true</attach>
<skipAssembly>false</skipAssembly>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${javac.src.version}</source>
<target>${javac.target.version}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<forkMode>once</forkMode>
<argLine>-Djava.library.path=${project.basedir}/lib</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<includes>
<include>src/main/java</include>
<include>src/main/resources</include>
<include>src/test/java</include>
<include>pom.xml</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<workspace>${basedir}</workspace>
<workspaceCodeStylesURL>${basedir}/eclipse-codeformat.xml</workspaceCodeStylesURL>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Generates the distribution package -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<descriptors>
<descriptor>${basedir}/src/main/assembly/src.xml</descriptor>
</descriptors>
<attach>true</attach>
<skipAssembly>false</skipAssembly>
<tarLongFileMode>posix</tarLongFileMode>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>edu.berkeley.nlp</groupId>
<artifactId>berkeleylm</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>net.sf.jung</groupId>
<artifactId>jung-algorithms</artifactId>
<version>2.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.jung</groupId>
<artifactId>jung-api</artifactId>
<version>2.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.jung</groupId>
<artifactId>jung-graph-impl</artifactId>
<version>2.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.jung</groupId>
<artifactId>jung-visualization</artifactId>
<version>2.0</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>args4j</groupId>
<artifactId>args4j</artifactId>
<version>2.0.29</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.9.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.0.52-beta</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>${apache-rat-plugin.version}</version>
<executions>
<execution>
<id>rat-verify</id>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<licenses>
<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
<licenseFamilyCategory>ASL20</licenseFamilyCategory>
<licenseFamilyName>Apache
Software License, 2.0</licenseFamilyName>
<notes>Single licensed ASL v2.0</notes>
<patterns>
<pattern>Licensed to the Apache Software Foundation
(ASF) under
one or more contributor license
agreements.</pattern>
</patterns>
</license>
</licenses>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<exclude>.classpath</exclude>
<exclude>.gitignore/**/**</exclude>
<exclude>.git/**/**</exclude>
<exclude>.gitmodules/**/**</exclude>
<exclude>.project</exclude>
<exclude>.pydevproject</exclude>
<exclude>.settings</exclude>
<exclude>.travis.yml</exclude>
<exclude>CHANGES.md</exclude>
<exclude>README.md</exclude>
<exclude>NOTICE.txt</exclude>
<exclude>LICENSE</exclude>
<exclude>KEYS</exclude>
<exclude>doap_joshua.rdf</exclude>
<exclude>src/test/**</exclude>
<exclude>demo/bootstrap/**</exclude>
<exclude>demo/README.md</exclude>
<exclude>distribution/joshua-full/icon.svg</exclude>
<exclude>distribution/joshua-full/README.md</exclude>
<exclude>distribution/joshua-runtime/icon.svg</exclude>
<exclude>distribution/joshua-runtime/README.md</exclude>
<exclude>examples/**</exclude>
<exclude>scripts/preparation/nonbreaking_prefixes/**</exclude>
<exclude>scripts/distributedLM/global_symol_list</exclude>
<exclude>scripts/distributedLM/lm.list.withweights</exclude>
<exclude>scripts/language-pack/README.template</exclude>
<exclude>scripts/training/templates/alignment/jacana/resources/model/tagdict</exclude>
<exclude>scripts/training/templates/glue-grammar</exclude>
<exclude>scripts/training/templates/glue-grammar.itg</exclude>
<exclude>scripts/training/templates/hadoop/masters</exclude>
<exclude>scripts/training/templates/hadoop/slaves</exclude>
<exclude>scripts/training/templates/tune/decoder_command</exclude>
<exclude>scripts/training/templates/tune/decoder_command.qsub</exclude>
<exclude>scripts/training/TODO</exclude>
<exclude>scripts/thrax/strip_label.py</exclude>
<exclude>scripts/language-pack/VERSIONS</exclude>
<exclude>**/README.md</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${implementation.build}</Implementation-Build>
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
<X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<quiet>true</quiet>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${implementation.build}</Implementation-Build>
<Implementation-Build-Date>${maven.build.timestamp}</Implementation-Build-Date>
<X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>${checksum-maven-plugin.version}</version>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>