From user-return-6747-apmail-uima-user-archive=uima.apache.org@uima.apache.org Mon Oct 5 15:55:47 2015 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 1FCAE18167 for ; Mon, 5 Oct 2015 15:55:47 +0000 (UTC) Received: (qmail 48827 invoked by uid 500); 5 Oct 2015 15:55:37 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 48782 invoked by uid 500); 5 Oct 2015 15:55:37 -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 48771 invoked by uid 99); 5 Oct 2015 15:55:36 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 15:55:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 449EAC028F for ; Mon, 5 Oct 2015 15:55:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1 X-Spam-Level: * X-Spam-Status: No, score=1 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id lSsY_k9_ATCt for ; Mon, 5 Oct 2015 15:55:29 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 71D74204C9 for ; Mon, 5 Oct 2015 15:55:28 +0000 (UTC) Received: from [192.168.11.108] ([132.230.176.14]) by mrelayeu.kundenserver.de (mreue005) with ESMTPSA (Nemesis) id 0LwVC7-1ahHtu49CJ-018IFd for ; Mon, 05 Oct 2015 17:55:22 +0200 Subject: Re: Ruta Maven Plugin To: user@uima.apache.org References: From: =?UTF-8?Q?Peter_Kl=c3=bcgl?= X-Enigmail-Draft-Status: N1110 Message-ID: <56129D94.60409@averbis.com> Date: Mon, 5 Oct 2015 17:56:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:2hu6o8r7KPAfWH/jWIfYagIkVL1oYoDgoyC2qTBs91TdC9x78RC SACRvIiql6Ty+PSF+veS3Pgx+SLEjG6wjRlGHRDUWbmphD2/R5Vlp/TXvKd/uwtEgpn5VqR HLwa6BI4EZnaC33nqSrl22nAb8xyZtY0hffVwz/rpfPb3KZHxC2doltbUZP2lkP+7q9e9Pm KB7y0DWRxWcEg5rNte1Bw== X-UI-Out-Filterresults: notjunk:1;V01:K0:a0vGn3eaKfM=:8zw4VJ/86HHG5W2KuN0Zrm JC1Nw1HLJxtc2We5m3CyP2Sg1K21OocpQSHsaP4ojTHayc+iNFqE7L29T+YpscYmPP38Z9wko PYeR9wgORtmDXF/0n4tqwp9ssbCaqjcNVru2+i5tEK3+NmZeBDGu/pT0o4byH3OWuUJ8X+Ci7 0a0uThBWRriAvyAP/XLoxpV2aUYY7YXUGrAEVVuC/yNy0Yz0JRZddQOa0fy/7z72X0QrQoXlC PN/jFfWeVTwv5KjBIIIDcsIB7zNbHqFGFe3IfCfRs9dUdb4dFkTbqTQKJ6acp6zeGrRM1Oz9S OCc63iCzH97iuBB8zrhjNcNoRZ4CobxW8d4D0xmeXmnofbZQukVZsIQUvNLxsmweLcuT49jjP 8yP7hfT+H/hRpuDt44zrCW2fVmXAMpqMGGmp7sfz0glouT0XBVGonI7ISOSF2NLWyIK9eVZzH MtD3uNLamVII3xgsFATV0SbnI70Zk5eU7cixuUzyp2hx98iVsDZpj0yZcOOFQSwI1mrIyR3Ij cLIgaUMbOB5pXNw0JzCSFzP5h34D4HURHgX+kReRivyKmfhCkbSZ5Jbi7JxnzfL86Ga2F+AB6 orVDdHUQXj/IqTJBFldtlfmDrh9QV0Dh+vZSS2mdU3dgmoV7vr/73NMLNZRPoajVEBDFuVIQ3 QJywUabQOpcbyh5RHivsTzmihfOwOwOiIXW2JSPnXCWMAUhOtf90j5+t+EeN5R6mm3758HgGc Xb656H8f1qJF1Ba+ Hi, there is no step-by-step description yet, only the part of the documentation here: https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.maven There are some examples of maven configurations: https://svn.apache.org/repos/asf/uima/ruta/trunk/example-projects/ruta-maven-example https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/multimodule https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/importByName My best guess without knowing your maven configuration/pom is that the phase of the ruta-maven-plugin needs to be changed. Did you use: descriptors process-classes generate if yes, try: descriptors generate-resources generate If that solves the problem, then please accept my apologies... I will adapt the documentation. There was actually a reason why I used process-classes in the first place... Best, Peter Am 05.10.2015 um 17:20 schrieb Armin.Wegner@bka.bund.de: > Hi, > > how ist ruta-maven-plugin supposed to be used? Is there a detailed step by step description? > > I've created a new empty maven project, added a script in the source folder src/main/ruta and a text file containing a list of words to src/main/resources. > mvn package builds a ...Engine.xml and a ...TypeSystem.xml in target/generated-sources/ruta/descriptor and a ...twl file in target/ruta/resources. But none of them is packaged in the jar file. > > I intend to add that jar file as a maven dependency and create the analysis engine by AnalysisEngineFactory.createEngineDescription(). Did I miss something? > > Regards, > Armin >