Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B35C10FE4 for ; Thu, 19 Dec 2013 11:25:38 +0000 (UTC) Received: (qmail 42425 invoked by uid 500); 19 Dec 2013 11:25:38 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 42195 invoked by uid 500); 19 Dec 2013 11:25:32 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 42187 invoked by uid 99); 19 Dec 2013 11:25:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 11:25:31 +0000 X-ASF-Spam-Status: No, hits=2.9 required=5.0 tests=FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcaug-uima-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 11:25:24 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vtbix-0003tq-2e for user@uima.apache.org; Thu, 19 Dec 2013 12:25:03 +0100 Received: from 195.37.189.82 ([195.37.189.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Dec 2013 12:25:03 +0100 Received: from habernal by 195.37.189.82 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Dec 2013 12:25:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@uima.apache.org From: Ivan Subject: Re: Using JCasGen outside eclipse Date: Thu, 19 Dec 2013 11:19:56 +0000 (UTC) Lines: 62 Message-ID: References: <50786F80.204@keatext.com> <5078A120.6080001@schor.com> <507BC2CC.7070605@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.37.189.82 (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0) X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I've been also a bit struggling to generate classes from type descriptors outside Eclipse (in IntelliJ Idea, and Maven3 on command line, resp.) and finally found a complete working solution, which not only generates the code but also adds the generated classes to the Maven life-cycle so a complete project can be compiled. in pom.xml: org.apache.uima jcasgen-maven-plugin 2.4.2 src/main/resources/desc/types/Annotator.xml generate-sources generate org.codehaus.mojo build-helper-maven-plugin 1.8 addToSourceFolder add-source process-sources ${project.build.directory}/generated-sources/jcasgen Hope that helps someone :) Best, Ivan