ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1635646 - /ctakes/trunk/ctakes-dictionary-lookup-fast-res/pom.xml
Date Fri, 31 Oct 2014 00:16:30 GMT
Author: seanfinan
Date: Fri Oct 31 00:16:29 2014
New Revision: 1635646

URL: http://svn.apache.org/r1635646
Log:
Added dependency unpack to put a copy of the dictionary database to the ctakes root directory.
 It is necessary for running cTakes through an IDE using hsql mem db.
Postponed the dependency unpack to -res/target/classes until mvn package.

** The dependency needs to be updated (rebuilt) for maven central **

Modified:
    ctakes/trunk/ctakes-dictionary-lookup-fast-res/pom.xml

Modified: ctakes/trunk/ctakes-dictionary-lookup-fast-res/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/pom.xml?rev=1635646&r1=1635645&r2=1635646&view=diff
==============================================================================
--- ctakes/trunk/ctakes-dictionary-lookup-fast-res/pom.xml (original)
+++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/pom.xml Fri Oct 31 00:16:29 2014
@@ -20,41 +20,52 @@
 
 -->
 <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>
-  <parent>
-    <groupId>org.apache.ctakes</groupId>
-    <artifactId>ctakes</artifactId>
-    <version>3.2.1-SNAPSHOT</version>
-  </parent>
-  <artifactId>ctakes-dictionary-lookup-fast-res</artifactId>
-  <name>Apache cTAKES Resources dictionary-lookup-fast-res</name>
-  <description>Resources Project for ctakes-dictionary-lookup-fast</description>
-  <dependencies>
-      	<dependency>
-			<groupId>net.sourceforge.ctakesresources</groupId>
-			<artifactId>ctakes-resources-snomed-rword-hsqldb-2011ab</artifactId>
-			<version>3.1.2</version>
-		</dependency>		
-  </dependencies>
-	<build>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-dependency-plugin</artifactId>
-				<executions>
-					<execution>
-						<id>unpack-dependencies</id>
-						<phase>process-resources</phase>
-						<goals>
-							<goal>unpack-dependencies</goal>
-						</goals>
-						<configuration>
-							<includeArtifactId>ctakes-resources-snomed-rword-hsqldb-2011ab</includeArtifactId>
						
-							<outputDirectory>${project.build.directory}/classes</outputDirectory>
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>    
+   <modelVersion>4.0.0</modelVersion>
+   <parent>
+      <groupId>org.apache.ctakes</groupId>
+      <artifactId>ctakes</artifactId>
+      <version>3.2.1-SNAPSHOT</version>
+   </parent>
+   <artifactId>ctakes-dictionary-lookup-fast-res</artifactId>
+   <name>Apache cTAKES Resources dictionary-lookup-fast-res</name>
+   <description>Resources Project for ctakes-dictionary-lookup-fast</description>
+   <dependencies>
+      <dependency>
+         <groupId>net.sourceforge.ctakesresources</groupId>
+         <artifactId>ctakes-resources-snomed-rword-hsqldb-2011ab</artifactId>
+         <version>3.2.0</version>
+      </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 ${basedir}/resources to work with
IDE -->
+                     <outputDirectory>${project.basedir}/../resources</outputDirectory>
+                  </configuration>
+               </execution>
+               <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>
+      </plugins>
+   </build>
 </project>



Mime
View raw message