You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by to...@apache.org on 2016/10/10 10:28:43 UTC

incubator-joshua git commit: JOSHUA-290 - separate OSGi artifact for Joshua, based on 7 branch

Repository: incubator-joshua
Updated Branches:
  refs/heads/JOSHUA-290-branch7 [created] 7fa72ed49


JOSHUA-290 - separate OSGi artifact for Joshua, based on 7 branch


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/7fa72ed4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/7fa72ed4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/7fa72ed4

Branch: refs/heads/JOSHUA-290-branch7
Commit: 7fa72ed49d0d0acb98d27115161464d450a6930d
Parents: 0afbe53
Author: Tommaso Teofili <to...@apache.org>
Authored: Mon Oct 10 12:28:07 2016 +0200
Committer: Tommaso Teofili <to...@apache.org>
Committed: Mon Oct 10 12:28:07 2016 +0200

----------------------------------------------------------------------
 joshua-osgi/pom.xml | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
 pom.xml             |  1 +
 2 files changed, 88 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/7fa72ed4/joshua-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/joshua-osgi/pom.xml b/joshua-osgi/pom.xml
new file mode 100644
index 0000000..e90dfc1
--- /dev/null
+++ b/joshua-osgi/pom.xml
@@ -0,0 +1,87 @@
+<?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-osgi</artifactId>
+  <packaging>bundle</packaging>
+  <name>Apache Joshua Machine Translation Toolkit - OSGi</name>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>org.apache.joshua.decoder</Export-Package>
+            <Import-Package>
+              com.google.common.*;version="[15,20)",
+              com.google.gson.*;version="[2.3.0,2.9.0)",
+            </Import-Package>
+            <Embed-Dependency>joshua-core,berkeleylm,args4j</Embed-Dependency>
+          </instructions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>baseline</id>
+            <goals>
+              <goal>baseline</goal>
+            </goals>
+            <phase>pre-integration-test</phase>
+            <configuration>
+              <logResults>false</logResults>
+              <failOnWarning>false</failOnWarning>
+              <failOnError>true</failOnError>
+              </configuration>
+            </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>joshua-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>edu.berkeley.nlp</groupId>
+      <artifactId>berkeleylm</artifactId>
+      <version>1.1.2</version>
+    </dependency>
+    <dependency>
+      <groupId>args4j</groupId>
+      <artifactId>args4j</artifactId>
+      <version>2.0.29</version>
+    </dependency>
+    <dependency>
+      <groupId>org.osgi</groupId>
+      <artifactId>org.osgi.annotation</artifactId>
+      <version>6.0.0</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/7fa72ed4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c80584d..d1da8b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,6 +117,7 @@
   <modules>
     <module>joshua-core</module>
     <module>joshua-web</module>
+    <module>joshua-osgi</module>
   </modules>
 
   <dependencyManagement>