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 B5EBEEE08 for ; Thu, 13 Dec 2012 19:17:17 +0000 (UTC) Received: (qmail 38711 invoked by uid 500); 13 Dec 2012 19:17:17 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 38683 invoked by uid 500); 13 Dec 2012 19:17:17 -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 38675 invoked by uid 99); 13 Dec 2012 19:17:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 19:17:17 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.55.86.74] (HELO smtp.webfaction.com) (74.55.86.74) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 19:17:07 +0000 Received: from webmail.webfaction.com (wf2.webfaction.com [174.133.50.206]) by smtp.webfaction.com (Postfix) with ESMTP id B1B8D26EF57B for ; Thu, 13 Dec 2012 13:15:32 -0600 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 13 Dec 2012 14:15:32 -0500 From: Pablo Duboue To: Subject: TextMarker types, JCasGenPomFriendly and Maven Message-ID: <12dc5cc8fa82bf55e7ae1a73a767d4f9@webmail.webfaction.com> X-Sender: pablo.duboue@keatext.com User-Agent: Roundcube Webmail/0.8.2 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Just a comment, if you use the uimaFIT JCasGenPomFriendly in Maven and want to use TextMarker as a standalone annotator you'll need to exclude the generated TextMarker basic type files from the build by adding something like this to your pom.xml plugins: org.apache.maven.plugins maven-compiler-plugin 3.0 1.6 1.6 org/apache/uima/textmarker/type/*.java I don't know if this is actually a bug in the way JCasGenPomFriendly is being called and it should pick up the existence of the org.apache.uima.textmarker.type JCas types or this is the preferred way to do it. The important aspect is that TextMarker has JCas types augmented with extra methods. Using regenerated types won't do (you'll get a cryptic error message java.lang.NoSuchMethodError: org.apache.uima.textmarker.type.TextMarkerBasic.setLowMemoryProfile(Z)V). Mr. Klügl, if this is not in the documentation for TextMarker somewhere you might want to add it. (And thanks for making such a great tool available!) Best regards, P.