ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1815575 - in /ctakes/trunk: ctakes-examples/pom.xml pom.xml
Date Fri, 17 Nov 2017 15:55:46 GMT
Author: seanfinan
Date: Fri Nov 17 15:55:46 2017
New Revision: 1815575

URL: http://svn.apache.org/viewvc?rev=1815575&view=rev
Log:
Add piper gui profile

Modified:
    ctakes/trunk/ctakes-examples/pom.xml
    ctakes/trunk/pom.xml

Modified: ctakes/trunk/ctakes-examples/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-examples/pom.xml?rev=1815575&r1=1815574&r2=1815575&view=diff
==============================================================================
--- ctakes/trunk/ctakes-examples/pom.xml (original)
+++ ctakes/trunk/ctakes-examples/pom.xml Fri Nov 17 15:55:46 2017
@@ -31,7 +31,11 @@
   <description>Apache cTAKES Examples</description>
   <dependencies>
       <!--  coreference module has dependencies on almost everything, use it to maximize
example possibilities.  -->
-    <dependency>
+      <dependency>
+          <groupId>org.apache.ctakes</groupId>
+          <artifactId>ctakes-gui</artifactId>
+      </dependency>
+      <dependency>
       <groupId>org.apache.ctakes</groupId>
         <artifactId>ctakes-coreference</artifactId>
     </dependency>
@@ -53,4 +57,44 @@
      	<version>2.3.0</version>
      </dependency>
   </dependencies>
+    <profiles>
+        <profile>
+            <id>runPiperGui</id>
+            <activation>
+                <property>
+                    <name>runPiperGui</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <version>${exec-maven-plugin.version}</version>
+                        <executions>
+                            <execution>
+                                <!-- depends on other modules being on classpath -->
+                                <phase>compile</phase>
+                                <goals>
+                                    <goal>exec</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <executable>java</executable>
+                            <includeProjectDependencies>true</includeProjectDependencies>
+                            <includePluginDependencies>true</includePluginDependencies>
+                            <workingDirectory>${project.parent.basedir}</workingDirectory>
+                            <arguments>
+                                <argument>-classpath</argument>
+                                <classpath/>
+                                <argument>-Xmx3G</argument>
+                                <argument>org.apache.ctakes.gui.pipeline.PiperRunnerGui</argument>
+                            </arguments>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 </project>

Modified: ctakes/trunk/pom.xml
URL: http://svn.apache.org/viewvc/ctakes/trunk/pom.xml?rev=1815575&r1=1815574&r2=1815575&view=diff
==============================================================================
--- ctakes/trunk/pom.xml (original)
+++ ctakes/trunk/pom.xml Fri Nov 17 15:55:46 2017
@@ -80,6 +80,7 @@
 		<maven.compiler.source>1.8</maven.compiler.source>
 		<maven.compiler.target>1.8</maven.compiler.target>
 		<maven-surefire-plugin.version>2.12.1</maven-surefire-plugin.version>
+		<exec-maven-plugin.version>1.2.1</exec-maven-plugin.version>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 	</properties>
 



Mime
View raw message