You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/11/15 21:16:30 UTC
incubator-joshua git commit: updated compilation instructions
Repository: incubator-joshua
Updated Branches:
refs/heads/master ebe7ad911 -> 2465413b8
updated compilation instructions
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/2465413b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/2465413b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/2465413b
Branch: refs/heads/master
Commit: 2465413b8c51ed97395c643dacedc36e78f2e3b0
Parents: ebe7ad9
Author: Matt Post <po...@cs.jhu.edu>
Authored: Tue Nov 15 16:16:26 2016 -0500
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Tue Nov 15 16:16:26 2016 -0500
----------------------------------------------------------------------
README.md | 2 +-
pom.xml | 26 +++++++++++++-------------
2 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/2465413b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index ded907a..3f54fca 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ You might also find it helpful to set these:
Then, compile Joshua by typing:
cd $JOSHUA
- mvn clean compile assembly:single
+ mvn clean package
You also need to download and compile [KenLM](http://kheafield.com/code/kenlm/) and [Thrax](https://github.com/joshua-decoder/thrax):
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/2465413b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1d4a12f..7cc8c4e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -241,25 +241,25 @@
<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>
- <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>
</execution>
</executions>
</plugin>