incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1399475 - in /incubator/ctakes/trunk: ./ ctakes-clinical-pipeline/
Date Wed, 17 Oct 2012 22:56:52 GMT
Author: chenpei
Date: Wed Oct 17 22:56:52 2012
New Revision: 1399475

URL: http://svn.apache.org/viewvc?rev=1399475&view=rev
Log:
https://issues.apache.org/jira/browse/CTAKES-81
Allow to run the uima guis from the root project:
mvn -PrunCPE compile
mvn -PrunCVD compile

Removed:
    incubator/ctakes/trunk/ctakes-clinical-pipeline/runctakesCPE.bat
    incubator/ctakes/trunk/ctakes-clinical-pipeline/runctakesCPE.sh
    incubator/ctakes/trunk/ctakes-clinical-pipeline/runctakesCVD.bat
    incubator/ctakes/trunk/ctakes-clinical-pipeline/runctakesCVD.sh
Modified:
    incubator/ctakes/trunk/ctakes-clinical-pipeline/pom.xml
    incubator/ctakes/trunk/pom.xml

Modified: incubator/ctakes/trunk/ctakes-clinical-pipeline/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-clinical-pipeline/pom.xml?rev=1399475&r1=1399474&r2=1399475&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-clinical-pipeline/pom.xml (original)
+++ incubator/ctakes/trunk/ctakes-clinical-pipeline/pom.xml Wed Oct 17 22:56:52 2012
@@ -68,5 +68,74 @@
 			<artifactId>ctakes-dependency-parser</artifactId>
 		</dependency>
 	</dependencies>
+	<profiles>
+		<profile>
+			<id>runCPE</id>
+			<activation>
+				<property>
+					<name>runCPE</name>
+				</property>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>exec-maven-plugin</artifactId>
+						<version>1.2.1</version>
+						<executions>
+							<execution>
+								<!-- depends on other modules being on classpath -->
+								<phase>compile</phase>
+								<goals>
+									<goal>java</goal>
+								</goals>
+							</execution>
+						</executions>
+						<configuration>
+							<mainClass>org.apache.uima.tools.cpm.CpmFrame</mainClass>
+							<arguments>
+								<argument></argument>
+							</arguments>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 
+		<profile>
+			<id>runCVD</id>
+			<activation>
+				<property>
+					<name>runCVD</name>
+				</property>
+			</activation>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>exec-maven-plugin</artifactId>
+						<version>1.2.1</version>
+						<executions>
+							<execution>
+								<!-- depends on other modules being on classpath -->
+								<phase>compile</phase>
+								<goals>
+									<goal>java</goal>
+								</goals>
+							</execution>
+						</executions>
+						<configuration>
+							<mainClass>org.apache.uima.tools.cvd.CVD</mainClass>
+							<!-- Have to specify at least one parameter otherwise, CVD thinks 
+								it's an invalid param because MVN passes null when joining to the mvn thread -->
+							<arguments>
+								<argument>-lookandfeel</argument>
+								<argument>javax.swing.plaf.metal.MetalLookAndFeel</argument>
+							</arguments>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
 </project>

Modified: incubator/ctakes/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/pom.xml?rev=1399475&r1=1399474&r2=1399475&view=diff
==============================================================================
--- incubator/ctakes/trunk/pom.xml (original)
+++ incubator/ctakes/trunk/pom.xml Wed Oct 17 22:56:52 2012
@@ -37,10 +37,12 @@
 		<module>ctakes-smoking-status</module>
 		<module>ctakes-dependency-parser</module>
 		<module>ctakes-relation-extractor</module>
-		<module>ctakes-clinical-pipeline</module>
 		<module>ctakes-pad-term-spotter</module>
 		<module>ctakes-assertion</module>
 		<module>ctakes-temporal</module>
+		
+		<!--  pipeline and distribution should always be last -->
+		<module>ctakes-clinical-pipeline</module>		
 		<module>ctakes-distribution</module>
 	</modules>
 	<dependencyManagement>
@@ -501,213 +503,4 @@
 			</plugins>
 		</pluginManagement>
 	</build>
-
-	<profiles>
-		<profile>
-			<id>runCPE</id>
-			<activation>
-				<property>
-					<name>runCPE</name>
-				</property>
-			</activation>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>org.codehaus.mojo</groupId>
-						<artifactId>exec-maven-plugin</artifactId>
-						<version>1.2.1</version>
-						<configuration>
-							<includeProjectDependencies>true</includeProjectDependencies>
-							<includePluginDependencies>true</includePluginDependencies>
-							<executableDependency>
-								<groupId>org.apache.ctakes</groupId>
-								<artifactId>ctakes-clinical-pipeline</artifactId>
-							</executableDependency>
-							<executions>
-								<execution>
-									<goals>
-										<goal>exec</goal>
-									</goals>
-									<configuration></configuration>
-								</execution>
-							</executions>
-							<executable>java</executable>
-							<longClasspath>false</longClasspath>
-							<arguments>
-								<argument>-Djava.util.logging.config.file=${UIMA_HOME}/Logger.properties</argument>
-								<argument>-Xms512M</argument>
-								<argument>-Xmx1024M</argument>
-								<argument>-classpath</argument>
-								<classpath />
-								<argument>org.apache.uima.tools.cpm.CpmFrame</argument>
-							</arguments>
-						</configuration>
-						<dependencies>
-							<!-- System lib dependencies is causing a world of pain. Remove these 
-								when they're uploaded to Maven Central -->
-							<dependency>
-								<groupId>net.sourceforge.openai</groupId>
-								<artifactId>fsm</artifactId>
-								<version>0.1a</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-core/lib/OpenAI_FSM.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>findstruct</groupId>
-								<artifactId>findstruct</artifactId>
-								<version>0.0.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-core/lib/FindStructAPI.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>sqlWrapper</groupId>
-								<artifactId>sqlWrapper</artifactId>
-								<version>0.0.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-core/lib/SQLWrapper.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.medfacts</groupId>
-								<artifactId>medfacts-i2b2</artifactId>
-								<version>1.2</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/med-facts-i2b2-1.2-SNAPSHOT.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.medfacts</groupId>
-								<artifactId>medfacts-zoner</artifactId>
-								<version>1.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/med-facts-zoner-1.1.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.jcarafe.core</groupId>
-								<artifactId>jcarafe.core</artifactId>
-								<version>2.9.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/jcarafe-core_2.9.1-0.9.8.3.RC4.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.jcarafe.ext</groupId>
-								<artifactId>jcarafe.ext</artifactId>
-								<version>2.9.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/jcarafe-ext_2.9.1-0.9.8.3.RC4.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>lvg2010dist</groupId>
-								<artifactId>lvg2010dist</artifactId>
-								<version>0.0.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-lvg/lib/lvg2010dist.jar</systemPath>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-		<profile>
-			<id>runCVD</id>
-			<activation>
-				<property>
-					<name>runCVD</name>
-				</property>
-			</activation>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>org.codehaus.mojo</groupId>
-						<artifactId>exec-maven-plugin</artifactId>
-						<version>1.2.1</version>
-						<configuration>
-							<includeProjectDependencies>true</includeProjectDependencies>
-							<includePluginDependencies>true</includePluginDependencies>
-							<executableDependency>
-								<groupId>org.apache.ctakes</groupId>
-								<artifactId>ctakes-clinical-pipeline</artifactId>
-							</executableDependency>
-							<executions>
-								<execution>
-									<goals>
-										<goal>exec</goal>
-									</goals>
-									<configuration></configuration>
-								</execution>
-							</executions>
-							<executable>java</executable>
-							<longClasspath>false</longClasspath>
-							<arguments>
-								<argument>-Djava.util.logging.config.file=${UIMA_HOME}/Logger.properties</argument>
-								<argument>-Xms512M</argument>
-								<argument>-Xmx1024M</argument>
-								<argument>-classpath</argument>
-								<classpath />
-								<argument>org.apache.uima.tools.cvd.CVD</argument>
-							</arguments>
-						</configuration>
-						<dependencies>
-							<!-- System lib dependencies is causing a world of pain. Remove these 
-								when they're uploaded to Maven Central -->
-							<dependency>
-								<groupId>net.sourceforge.openai</groupId>
-								<artifactId>fsm</artifactId>
-								<version>0.1a</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-core/lib/OpenAI_FSM.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>findstruct</groupId>
-								<artifactId>findstruct</artifactId>
-								<version>0.0.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-core/lib/FindStructAPI.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>sqlWrapper</groupId>
-								<artifactId>sqlWrapper</artifactId>
-								<version>0.0.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-core/lib/SQLWrapper.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.medfacts</groupId>
-								<artifactId>medfacts-i2b2</artifactId>
-								<version>1.2</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/med-facts-i2b2-1.2-SNAPSHOT.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.medfacts</groupId>
-								<artifactId>medfacts-zoner</artifactId>
-								<version>1.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/med-facts-zoner-1.1.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.jcarafe.core</groupId>
-								<artifactId>jcarafe.core</artifactId>
-								<version>2.9.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/jcarafe-core_2.9.1-0.9.8.3.RC4.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>org.mitre.jcarafe.ext</groupId>
-								<artifactId>jcarafe.ext</artifactId>
-								<version>2.9.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-assertion/lib/jcarafe-ext_2.9.1-0.9.8.3.RC4.jar</systemPath>
-							</dependency>
-							<dependency>
-								<groupId>lvg2010dist</groupId>
-								<artifactId>lvg2010dist</artifactId>
-								<version>0.0.1</version>
-								<scope>system</scope>
-								<systemPath>${project.basedir}/../ctakes-lvg/lib/lvg2010dist.jar</systemPath>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
 </project>



Mime
View raw message