| <?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.joshua</groupId> |
| <artifactId>joshua-parent</artifactId> |
| <version>6.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>joshua-core</artifactId> |
| <packaging>jar</packaging> |
| <name>Apache Joshua Machine Translation Toolkit - Core</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> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.joshua.decoder.JoshuaDecoder</mainClass> |
| </manifest> |
| </archive> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-jar-with-dependencies</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.parent.build.directory}</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${build.directory}</directory> |
| <includes> |
| <include>${build.finalName}-jar-with-dependencies.jar</include> |
| </includes> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </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> |
| </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> |
| <dependency> |
| <groupId>concurrent</groupId> |
| <artifactId>concurrent</artifactId> |
| <version>1.3.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.typesafe</groupId> |
| <artifactId>config</artifactId> |
| <version>1.2.1</version> |
| </dependency> |
| |
| <!-- Test Dependencies --> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <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> |
| </dependencies> |
| </project> |