| <?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.stanbol</groupId> |
| <artifactId>apache-stanbol-enhancement-engines-opennlp</artifactId> |
| <version>0.10.1-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.stanbol.enhancer.engines.opennlp.ner</artifactId> |
| <packaging>bundle</packaging> |
| |
| <name>Apache Stanbol Enhancement Engine : OpenNLP NER</name> |
| <description /> |
| <inceptionYear>2010</inceptionYear> |
| |
| <scm> |
| <connection> |
| scm:svn:http://svn.apache.org/repos/asf/stanbol/branches/STANBOL-913/opennlp/opennlp-ner/ |
| </connection> |
| <developerConnection> |
| scm:svn:https://svn.apache.org/repos/asf/stanbol/branches/STANBOL-913/opennlp/opennlp-ner/ |
| </developerConnection> |
| <url>http://stanbol.apache.org/</url> |
| </scm> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Private-Package> |
| org.apache.stanbol.enhancer.engines.opennlp.impl.* |
| </Private-Package> |
| <Import-Package> |
| !net.didion.*, |
| org.apache.stanbol.enhancer.servicesapi; provide:=true; version="[0.10,0.12)", |
| org.apache.stanbol.enhancer.servicesapi.impl; provide:=true; version="[0.10,0.12)", |
| * |
| </Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-scr-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- The current opennlp version is exported by the commons.opennlp bundle --> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.commons.opennlp</artifactId> |
| <version>0.11.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId> |
| <version>0.10.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.enhancer.nlp</artifactId> |
| <version>0.10.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.commons.stanboltools.datafileprovider</artifactId> |
| <version>0.11.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.scr.annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| </dependency> |
| |
| <!-- generic tax --> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <!-- for tests --> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.enhancer.test</artifactId> |
| <version>0.10.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.enhancer.core</artifactId> |
| <version>0.10.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <!-- |
| The profiles here are used to prevent a build failure |
| if tests are skipped using -DskipTests but the required |
| OpenNLP data bundles are not available in the local repo. |
| With these profiles Maven does not try to download |
| the runtime test dependencies of the data bundles. |
| --> |
| <profile> |
| <id>with-tests</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.data.opennlp.lang.en</artifactId> |
| <version>1.1.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.data.opennlp.ner.en</artifactId> |
| <version>1.1.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>no-tests</id> |
| <activation> |
| <property> |
| <name>skipTests</name> |
| <value>true</value> |
| </property> |
| </activation> |
| </profile> |
| </profiles> |
| |
| </project> |