blob: 2995a515d04430e1d91ea4d9e49646d424058cf4 [file] [log] [blame]
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>ctakes-dictionary-lookup-fast</artifactId>
<name>Apache cTAKES dictionary lookup fast</name>
<parent>
<groupId>org.apache.ctakes</groupId>
<artifactId>ctakes</artifactId>
<version>5.0.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
</dependency>
<dependency>
<groupId>org.apache.ctakes</groupId>
<artifactId>ctakes-core</artifactId>
</dependency>
<dependency>
<!-- TODO : update per release -->
<groupId>net.sourceforge.ctakesresources</groupId>
<artifactId>ctakes-resources-sno_rx</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-dependencies-ide</id>
<phase>process-resources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<!-- copy the hsql database to ${project.basedir}/resources to work with IDE -->
<includeArtifactIds>ctakes-resources-sno_rx</includeArtifactIds>
<excludes>**/META-INF/**</excludes>
<outputDirectory>${project.basedir}/../resources</outputDirectory>
</configuration>
</execution>
<!-- Unpacking should not be performed when building a package -->
<!--<execution>-->
<!--<id>unpack-dependencies-bin</id>-->
<!--<phase>package</phase>-->
<!--<goals>-->
<!--<goal>unpack-dependencies</goal>-->
<!--</goals>-->
<!--<configuration>-->
<!-- copy the hsql database to target/classes/ for the bin package -->
<!--<outputDirectory>${project.build.directory}/classes</outputDirectory>-->
<!--</configuration>-->
<!--</execution>-->
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<includes>
<!-- Dictionary lookup Resources that are unpacked
automatically by maven
are not jar'd and included in the bin distro
by default please download them from SF if needed.
-->
<include>**/*.piper</include>
<include>**/*.class</include>
<include>**/types/*.xml</include>
<include>**/META-INF/**</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
</project>