By the way, if you use the exec goal you can do things like pass more memory or start with the default clinical pipeline, etc. Sean
<profile> <id>clinicalGui</id> <activation> <property> <name>clinicalGui</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>--> <!-- The java goal runs in the same jvm as maven, meaning we can't pass Xmx --> <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>-Xmx4G</argument> <argument>org.apache.ctakes.gui.pipeline.PiperRunnerGui</argument> <argument>-p</argument> <argument>resources/org/apache/ctakes/clinical/pipeline/DefaultFastPipeline.piper</argument> </arguments> </configuration> </plugin> </plugins> </build> </profile> ________________________________________ From: Reed Villanueva <villanuevar...@gmail.com> Sent: Thursday, March 29, 2018 4:08 PM To: dev@ctakes.apache.org Subject: Failing to compile runPiperGui profile in Intellij [EXTERNAL] Using the instructions of the dev guide ( https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B4.0-2BDeveloper-2BInstall-2BGuide-23cTAKES4.0DeveloperInstallGuide-2DRunningUIMACVDwithMaven&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y&s=7uzLWQ_UTWoiVqMKOzfom8yVgwXpBoHOeKpqzzlrWok&e=) to try to compile the runPiperGui profile in Intellij IDE, I get the following error: [INFO] ctakes-examples .................................... FAILURE [ > 9.248 s] > [INFO] Apache cTAKES Resources ctakes-ytex-res ............ SKIPPED > [INFO] Apache cTAKES YTEX ................................. SKIPPED > [INFO] Apache cTAKES YTEX UIMA ............................ SKIPPED > [INFO] Apache cTAKES YTEX Web ............................. SKIPPED > [INFO] Apache cTAKES Distribution ......................... SKIPPED > [INFO] Apache cTAKES Regression-test ...................... SKIPPED > [INFO] Apache cTAKES template filler ...................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 20.514 s > [INFO] Finished at: 2018-03-29T09:38:11-10:00 > [INFO] Final Memory: 72M/1300M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default) on project > ctakes-examples: Unable to parse configuration of mojo > org.codehaus.mojo:exec-maven-plugin:1.2.1:java for parameter arguments: > Cannot store value into array: ArrayStoreException -> [Help 1] Don't work with java often, but googling the error, looking at this stack overflow post ( https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_23832192_mvn-2Dexecexec-2Dand-2Dmvn-2Dexecjava-2Ddifference&d=DwIFaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=xSzM-Gf8hgP4XQgXM74hPSwUsXhvzcKWWkVfDnaid5Y&s=lKgucjFz23lmBLcQEyhJpt_kX_bc4cZm3kVaQj3R5-I&e=), and taking a shot in the dark, I changed the trunk/ctakes-examples/pom.xml's execution goal for the org.codehaus.mojo.exec-maven-plugin plugin from <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>exec-maven-plugin</artifactId> > <executions> > <execution> > <goals> > <goal>java</goal> > </goals> > </execution> > </executions> > <configuration> > > to > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>exec-maven-plugin</artifactId> > <executions> > <execution> > <goals> > <goal>exec</goal> > </goals> > </execution> > </executions> > <configuration> > > I now seem to be able to compile the piper submitter GUI (though the error does show up after I close the GUI). Could someone let me know what is happening here? Is this normal? Thanks.