uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Bethard (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-2471) add a jcasgen-maven-plugin (and m2e connector)
Date Sun, 23 Sep 2012 18:29:07 GMT
Steven Bethard created UIMA-2471:

             Summary: 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

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:


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:


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:


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:


And here's an m2e connector for that plugin:


If you'd like to try them out, I've deployed the jcasgen-maven-plugin to Maven Central:


And I've created an Eclipse update site for the m2e connector:


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

View raw message