ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1620359 - /ctakes/trunk/ctakes-lvg-res/pom.xml
Date Mon, 25 Aug 2014 15:57:59 GMT
Author: chenpei
Date: Mon Aug 25 15:57:58 2014
New Revision: 1620359

URL: http://svn.apache.org/r1620359
Log:
CTAKES-307 - adding an unpack step for lvg-res so that the unit tests will pass for dependency
parser (and any other test cases that use lvg). lvg currently requires an explict file/directory
and not an input stream.

Modified:
    ctakes/trunk/ctakes-lvg-res/pom.xml

Modified: ctakes/trunk/ctakes-lvg-res/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-lvg-res/pom.xml?rev=1620359&r1=1620358&r2=1620359&view=diff
==============================================================================
--- ctakes/trunk/ctakes-lvg-res/pom.xml (original)
+++ ctakes/trunk/ctakes-lvg-res/pom.xml Mon Aug 25 15:57:58 2014
@@ -29,4 +29,41 @@
   <artifactId>ctakes-lvg-res</artifactId>
   <name>Apache cTAKES Resources lvg</name>
   <description>Resources Project for ctakes-lvg</description>
+	<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-lvg-res</includeArtifactId>
+							<outputDirectory>${project.build.directory}/classes</outputDirectory>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+				<plugin>
+					<artifactId>maven-jar-plugin</artifactId>
+					<version>2.4</version>
+					<configuration>
+			          <includes>
+			          <!-- 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>**/*.class</include>
+			            <include>**/types/*.xml</include>			            
+			            <include>**/META-INF/**</include>
+			          </includes>
+	        		</configuration>
+				</plugin>	    	
+		</plugins>
+	</build>    
 </project>
\ No newline at end of file



Mime
View raw message