You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2014/08/25 17:57:59 UTC
svn commit: r1620359 - /ctakes/trunk/ctakes-lvg-res/pom.xml
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