Return-Path: X-Original-To: apmail-ctakes-notifications-archive@www.apache.org Delivered-To: apmail-ctakes-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97D0210BDF for ; Sun, 26 Jan 2014 19:02:39 +0000 (UTC) Received: (qmail 43147 invoked by uid 500); 26 Jan 2014 19:02:38 -0000 Delivered-To: apmail-ctakes-notifications-archive@ctakes.apache.org Received: (qmail 43104 invoked by uid 500); 26 Jan 2014 19:02:38 -0000 Mailing-List: contact notifications-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list notifications@ctakes.apache.org Received: (qmail 43095 invoked by uid 99); 26 Jan 2014 19:02:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jan 2014 19:02:38 +0000 Date: Sun, 26 Jan 2014 19:02:37 +0000 (UTC) From: "Richard Eckart de Castilho (JIRA)" To: notifications@ctakes.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CTAKES-283) Avoid duplicate generation of JCas classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CTAKES-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Eckart de Castilho updated CTAKES-283: ---------------------------------------------- Description: 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} org.apache.uima jcasgen-maven-plugin 2.5.0 generate src/main/resources/org/apache/ctakes/**/types/TypeSystem.xml true {noformat} was: 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: {noformat} org.apache.uima jcasgen-maven-plugin 2.5.0 generate src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml true {noformat} > Avoid duplicate generation of JCas classes > ------------------------------------------ > > Key: CTAKES-283 > URL: https://issues.apache.org/jira/browse/CTAKES-283 > Project: cTAKES > Issue Type: Improvement > Reporter: Richard Eckart de Castilho > > 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} > > org.apache.uima > jcasgen-maven-plugin > 2.5.0 > > > generate > > > src/main/resources/org/apache/ctakes/**/types/TypeSystem.xml > > true > > > > > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)