incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1413855 - in /incubator/ctakes/branches/ctakes-3.0.0-incubating: ctakes-dictionary-lookup/pom.xml pom.xml
Date Mon, 26 Nov 2012 21:20:37 GMT
Author: chenpei
Date: Mon Nov 26 21:20:36 2012
New Revision: 1413855

URL: http://svn.apache.org/viewvc?rev=1413855&view=rev
Log:
CTAKES-53 - move UMLS out of Apache distribution
adding m2e lifecycle mapping to unpack resources within eclipse ide

Modified:
    incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-dictionary-lookup/pom.xml
    incubator/ctakes/branches/ctakes-3.0.0-incubating/pom.xml

Modified: incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-dictionary-lookup/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-dictionary-lookup/pom.xml?rev=1413855&r1=1413854&r2=1413855&view=diff
==============================================================================
--- incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-dictionary-lookup/pom.xml (original)
+++ incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-dictionary-lookup/pom.xml Mon
Nov 26 21:20:36 2012
@@ -53,20 +53,19 @@
 			<groupId>junit</groupId>
 			<artifactId>junit</artifactId>
 		</dependency>
-		
-			<!-- cTAKES Resources -->
-			<dependency>
-				<groupId>net.sourceforge.ctakesresources</groupId>
-				<artifactId>ctakes-resources-umls2011ab</artifactId>
-				<version>3.0.0</version>
-			</dependency>
+
+		<!-- cTAKES Resources -->
+		<dependency>
+			<groupId>net.sourceforge.ctakesresources</groupId>
+			<artifactId>ctakes-resources-umls2011ab</artifactId>
+			<version>3.0.0</version>
+		</dependency>
 	</dependencies>
 	<build>
 		<plugins>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-dependency-plugin</artifactId>
-				<version>2.5.1</version>
 				<executions>
 					<execution>
 						<id>unpack-dependencies</id>

Modified: incubator/ctakes/branches/ctakes-3.0.0-incubating/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/branches/ctakes-3.0.0-incubating/pom.xml?rev=1413855&r1=1413854&r2=1413855&view=diff
==============================================================================
--- incubator/ctakes/branches/ctakes-3.0.0-incubating/pom.xml (original)
+++ incubator/ctakes/branches/ctakes-3.0.0-incubating/pom.xml Mon Nov 26 21:20:36 2012
@@ -442,6 +442,10 @@
 					<version>2.3</version>
 				</plugin>
 				<plugin>
+					<artifactId>maven-dependency-plugin</artifactId>
+					<version>2.6</version>
+				</plugin>				
+				<plugin>
 					<artifactId>maven-clean-plugin</artifactId>
 					<version>2.4.1</version>
 				</plugin>
@@ -502,6 +506,10 @@
 					<version>2.5</version>
 				</plugin>
 				<plugin>
+					<artifactId>maven-dependency-plugin</artifactId>
+					<version>2.6</version>
+				</plugin>				
+				<plugin>
 					<artifactId>maven-site-plugin</artifactId>
 					<version>3.1</version>
 				</plugin>
@@ -564,7 +572,34 @@
 							</excludes>
 						<numUnapprovedLicenses>0</numUnapprovedLicenses>								
 					</configuration>
-				</plugin>					
+				</plugin>
+				<!-- This is needed to execute/unpack resources in m2e eclipse ide -->
+				<plugin>
+					<groupId>org.eclipse.m2e</groupId>
+					<artifactId>lifecycle-mapping</artifactId>
+					<version>1.0</version>
+					<configuration>
+						<lifecycleMappingMetadata>
+							<pluginExecutions>
+								<pluginExecution>
+									<pluginExecutionFilter>
+										<groupId>org.apache.maven.plugins</groupId>
+										<artifactId>maven-dependency-plugin</artifactId>
+										<versionRange>[2.6,)</versionRange>
+										<goals>
+											<goal>unpack-dependencies</goal>
+										</goals>
+									</pluginExecutionFilter>
+									<action>
+										<execute>
+											<runOnIncremental>true</runOnIncremental>
+										</execute>
+									</action>
+								</pluginExecution>
+							</pluginExecutions>
+						</lifecycleMappingMetadata>
+					</configuration>
+				</plugin>							
 			</plugins>
 		</pluginManagement>
 	</build>



Mime
View raw message