You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by le...@apache.org on 2016/11/11 10:34:06 UTC
[02/10] incubator-joshua git commit: JOSHUA-323 Joshua 6.1 Release
Management
JOSHUA-323 Joshua 6.1 Release Management
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/7f2ef263
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/7f2ef263
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/7f2ef263
Branch: refs/heads/master
Commit: 7f2ef263cbaee94ba82cff4e8145a288180a3afa
Parents: f45c3fd
Author: Lewis John McGibbney <le...@gmail.com>
Authored: Thu Nov 10 20:53:47 2016 -0800
Committer: Lewis John McGibbney <le...@gmail.com>
Committed: Thu Nov 10 20:53:47 2016 -0800
----------------------------------------------------------------------
doap_joshua.rdf | 57 +++++++++++++++++++++
pom.xml | 142 +++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 194 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/7f2ef263/doap_joshua.rdf
----------------------------------------------------------------------
diff --git a/doap_joshua.rdf b/doap_joshua.rdf
new file mode 100644
index 0000000..6374534
--- /dev/null
+++ b/doap_joshua.rdf
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl"?>
+<rdf:RDF xml:lang="en"
+ xmlns="http://usefulinc.com/ns/doap#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:asfext="http://projects.apache.org/ns/asfext#"
+ xmlns:foaf="http://xmlns.com/foaf/0.1/">
+<!--
+ 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 rdf:about="http://joshua.apache.org">
+ <created>2016-11-10</created>
+ <license rdf:resource="http://usefulinc.com/doap/licenses/asl20" />
+ <name>Apache Joshua</name>
+ <homepage rdf:resource="http://joshua.apache.org" />
+ <asfext:pmc rdf:resource="http://joshua.apache.org" />
+ <shortdesc>Joshua is a statistical machine translation toolkit for both phrase-based and syntax-based decoding.</shortdesc>
+ <description>Joshua is a statistical machine translation toolkit for both phrase-based (new in version 6.0) and syntax-based decoding. It can be run with pre-built language packs available for download, and can also be used to build models for new language pairs.</description>
+ <bug-database rdf:resource="https://issues.apache.org/jira/browse/JOSHUA" />
+ <mailing-list rdf:resource="https://cwiki.apache.org/confluence/x/Y6W8Aw" />
+ <download-page rdf:resource="https://cwiki.apache.org/confluence/x/DoS8Aw" />
+ <programming-language>Java</programming-language>
+ <category rdf:resource="https://projects.apache.org/projects.html?category#Library" />
+ <release>
+ <Version>
+ <name>6.1 release</name>
+ <created>2016-11-10</created>
+ <revision>6.1</revision>
+ </Version>
+ </release>
+ <repository>
+ <SVNRepository>
+ <location rdf:resource="https://git-wip-us.apache.org/repos/asf/incubator-joshua.git"/>
+ <browse rdf:resource="https://github.com/apache/incubator-joshua"/>
+ </SVNRepository>
+ </repository>
+ <maintainer>
+ <foaf:Person>
+ <foaf:name>Joshua Development Team</foaf:name>
+ <foaf:mbox rdf:resource="mailto:dev@joshua.incubator.apache.org"/>
+ </foaf:Person>
+ </maintainer>
+ </Project>
+</rdf:RDF>
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/7f2ef263/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 985232f..ad0a9fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,13 @@
<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>
+ <checksum-maven-plugin.version>1.3</checksum-maven-plugin.version>
+ <javac.src.version>1.8</javac.src.version>
+ <javac.target.version>1.8</javac.target.version>
</properties>
<licenses>
@@ -144,8 +151,8 @@
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <source>${javac.src.version}</source>
+ <target>${javac.target.version}</target>
</configuration>
</plugin>
<plugin>
@@ -208,9 +215,9 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.10</version>
- <configuration>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.10</version>
+ <configuration>
<workspace>${basedir}</workspace>
<workspaceCodeStylesURL>${basedir}/eclipse-codeformat.xml</workspaceCodeStylesURL>
</configuration>
@@ -297,4 +304,129 @@
<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>CHANGES.md</exclude>
+ <exclude>README.md</exclude>
+ <exclude>NOTICE.txt</exclude>
+ <exclude>LICENSE</exclude>
+ <exclude>KEYS</exclude>
+ <exclude>doap_joshua.rdf</exclude>
+ <exclude>.gitignore/**/**</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>