ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CTAKES-283) Avoid duplicate generation of JCas classes
Date Tue, 28 Apr 2015 20:06:11 GMT

     [ https://issues.apache.org/jira/browse/CTAKES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pei Chen resolved CTAKES-283.
-----------------------------
    Resolution: Fixed

> 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