<?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.jackrabbit</groupId> | |
<artifactId>oak-parent</artifactId> | |
<version>1.22.14</version> | |
<relativePath>../oak-parent/pom.xml</relativePath> | |
</parent> | |
<artifactId>oak-search-mt</artifactId> | |
<name>Oak Search Machine Translation</name> | |
<packaging>bundle</packaging> | |
<description>Machine Translation extension for Oak search</description> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Export-Package> | |
!* | |
</Export-Package> | |
<Embed-Dependency>*;scope=compile,artifactId=!oak-lucene</Embed-Dependency> | |
<Import-Package> | |
com.ibm.uvm.tools.*;resolution:=optional, | |
com.sun.jdmk.comm.*;resolution:=optional, | |
com.sun.net.httpserver.*;resolution:=optional, | |
edu.uci.ics.*;resolution:=optional, | |
javax.jms.*;resolution:=optional, | |
javax.jmdns.*;resolution:=optional, | |
junit.framework.*;resolution:=optional, | |
org.apache.commons.collections15.*;resolution:=optional, | |
org.apache.tools.ant.*;resolution:=optional, | |
org.apache.tools.ant.types.*;resolution:=optional, | |
org.easymock.*;resolution:=optional, | |
org.jmock.core.*;resolution:=optional, | |
sun.misc.*;resolution:=optional, | |
EDU.oswego.cs.dl.util.concurrent.*;resolution:=optional, | |
org.kohsuke.args4j.*;resolution:=optional, | |
* | |
</Import-Package> | |
</instructions> | |
</configuration> | |
<executions> | |
<execution> | |
<id>baseline</id> | |
<goals> | |
<goal>baseline</goal> | |
</goals> | |
<phase>pre-integration-test</phase> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.rat</groupId> | |
<artifactId>apache-rat-plugin</artifactId> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<!-- Optional OSGi dependencies, used only when running within OSGi --> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.core</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.compendium</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.osgi</groupId> | |
<artifactId>org.osgi.annotation</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>org.apache.felix.scr.annotations</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-lucene</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.joshua</groupId> | |
<artifactId>joshua-incubating</artifactId> | |
<version>6.1</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.lucene</groupId> | |
<artifactId>lucene-queryparser</artifactId> | |
<version>${lucene.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Nullability annotations --> | |
<dependency> | |
<groupId>org.jetbrains</groupId> | |
<artifactId>annotations</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Test Dependencies --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-core</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>colt</groupId> | |
<artifactId>colt</artifactId> | |
<version>1.2.0</version> | |
</dependency> | |
<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>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<version>2.4</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-math3</artifactId> | |
<version>3.5</version> | |
</dependency> | |
</dependencies> | |
</project> | |