ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-283) Avoid duplicate generation of JCas classes
Date Wed, 29 Apr 2015 21:46:08 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520329#comment-14520329
] 

ASF subversion and git services commented on CTAKES-283:
--------------------------------------------------------

Commit 1676870 from chenpei@apache.org in branch 'ctakes/trunk'
[ https://svn.apache.org/r1676870 ]

CTAKES-283 - Avoid duplicate generation of JCas classes
Update to use the uima jcasgen maven plugin instead of cleartk's version.

> Avoid duplicate generation of JCas classes
> ------------------------------------------
>
>                 Key: CTAKES-283
>                 URL: https://issues.apache.org/jira/browse/CTAKES-283
>             Project: cTAKES
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Richard Eckart de Castilho
>            Assignee: Pei Chen
>             Fix For: 3.2.2
>
>
> Various cTAKES modules run the jcasgen-maven-plugin to automatically generate JCas classes.
Because the type system definitions in these modules tend to import type system definitions
from the ctakes-type-system module and because currently cTAKES uses the old jcasgen-maven-plugin
from ClearTK, this leads to duplicate JCas classes being generated for the imported types.
> This could be fixed by upgrading to the Apache UIMA jcasgen-maven-plugin. Because the
new version supports ANT-like include/exclude patterns, all individual calls to the plugin
in every module can be replaced by placing this in the ctakes root module plugins section.
> {noformat}
> <plugin>
>   <groupId>org.apache.uima</groupId>
>   <artifactId>jcasgen-maven-plugin</artifactId>
>   <version>2.5.0</version>
>   <executions>
>     <execution>
>       <goals><goal>generate</goal></goals>
>       <configuration>
>         <typeSystemIncludes>
>           <typeSystemInclude>src/main/resources/org/apache/ctakes/**/types/TypeSystem.xml</typeSystemInclude>
>         </typeSystemIncludes>
>         <limitToProject>true</limitToProject>
>       </configuration>
>     </execution>
>   </executions>
> </plugin>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message