Return-Path: X-Original-To: apmail-uima-dev-archive@www.apache.org Delivered-To: apmail-uima-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 717E011778 for ; Fri, 10 May 2013 21:45:17 +0000 (UTC) Received: (qmail 52710 invoked by uid 500); 10 May 2013 21:45:17 -0000 Delivered-To: apmail-uima-dev-archive@uima.apache.org Received: (qmail 52673 invoked by uid 500); 10 May 2013 21:45:17 -0000 Mailing-List: contact dev-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@uima.apache.org Delivered-To: mailing list dev@uima.apache.org Received: (qmail 52664 invoked by uid 99); 10 May 2013 21:45:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 21:45:17 +0000 Date: Fri, 10 May 2013 21:45:17 +0000 (UTC) From: "Richard Eckart de Castilho (JIRA)" To: dev@uima.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (UIMA-2471) add a jcasgen-maven-plugin (and m2e connector) 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/UIMA-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Eckart de Castilho updated UIMA-2471: --------------------------------------------- Fix Version/s: 2.4.1SDK > add a jcasgen-maven-plugin (and m2e connector) > ---------------------------------------------- > > Key: UIMA-2471 > URL: https://issues.apache.org/jira/browse/UIMA-2471 > Project: UIMA > Issue Type: New Feature > Reporter: Steven Bethard > Assignee: Richard Eckart de Castilho > Fix For: 2.4.1SDK > > Attachments: jcasgen-maven-plugin.zip > > > To properly use JCasGen in a Maven build, it would be nice to have a real Maven plugin dedicated to JCasGen. The current workaround is a bit complex: you have to use a uimaFIT wrapper of JCasGen plus the exec-maven-plugin and the build-helper-maven-plugin: > http://mail-archives.apache.org/mod_mbox/uima-user/201010.mbox/%3C4CC06F1D.3010206@ogren.info%3E > This workaround also interacts poorly with Eclipse. There's no m2e connector for the exec-maven-plugin, which means you have to add some configuration to your pom: > http://wiki.eclipse.org/M2E_plugin_execution_not_covered > And then the plugin will be executed on every build - even if you haven't modified they type system descriptor - which can be quite painful for large type systems. > Instead, I'd like to see a jcasgen-maven-plugin that allows you to write something like: > > org.apache.uima > jcasgen-maven-plugin > > src/main/resources/TypeSystem.xml > > > > > generate > > > > > This plugin would also have a corresponding m2e connector that only runs JCasGen when the type system file changed. > I spent some time trying to put a first draft of these two things together. Here's a jcasgen-maven-plugin: > http://cleartk.googlecode.com/git/jcasgen-maven-plugin/ > And here's an m2e connector for that plugin: > http://cleartk.googlecode.com/git/jcasgen-m2e-connector/ > If you'd like to try them out, I've deployed the jcasgen-maven-plugin to Maven Central: > http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22jcasgen-maven-plugin%22 > And I've created an Eclipse update site for the m2e connector: > http://cleartk.googlecode.com/git/jcasgen-m2e-connector/org.cleartk.plugin.jcasgen.m2e.repo/target/repository/ > The pom XML snippet I gave above should work, except that the group is "org.cleartk" instead of "org.apache.uima". > Is there any interest in this? I'd be happy to help transition the code over to Apache if others would like to see this as part of the UIMA distribution. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira