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 C2BE217B77 for ; Wed, 1 Apr 2015 13:43:41 +0000 (UTC) Received: (qmail 50957 invoked by uid 500); 1 Apr 2015 13:43:41 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 50911 invoked by uid 500); 1 Apr 2015 13:43:41 -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 50896 invoked by uid 99); 1 Apr 2015 13:43:41 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 13:43:41 +0000 Received: from [10.0.1.14] (ip-37-201-78-128.hsi13.unitymediagroup.de [37.201.78.128]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5DFBB1A012D; Wed, 1 Apr 2015 13:43:39 +0000 (UTC) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Developing UIMA Ruta Rules in Maven Projects From: Richard Eckart de Castilho In-Reply-To: <551AF598.8050506@uni-wuerzburg.de> Date: Wed, 1 Apr 2015 15:43:36 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <410CFC14-EF83-4A6A-B3C8-A0BC2E95AB50@apache.org> References: <551965A5.8000401@averbis.com> <551AF598.8050506@uni-wuerzburg.de> To: user@uima.apache.org X-Mailer: Apple Mail (2.1878.6) On 31.03.2015, at 21:29, Peter Kl=FCgl wrote: > My first investigations for a m2e project configurator haven't been = really successful. If someone has experience in this field... any help = is welcome ;-) You are talking about a connector that configures the ruta workbench = based on settings made in the POM or on a maven-plugin that does = something during a maven-based build? > I intent to support src/main/ruta by default, but also other source = folders since I can think of users that rather interpet ruta files as = resources than as program code. Thus, they want to place it somewhere = under src/main/resources. Complete support has maybe to wait for the = release after next. Well, ruta is a script-based language. So I would expect that ruta files = are copied verbatim from whatever folder they are in to target/classes = anyway. It is probably a good best practice to let ruta scripts live in packages = (cf. Java packages), so they should probably merge nicely into the = classpath - as ruta files, which would effectively be resources. Mind = that you can even consider ".class" files as resources. The distinction into src/main/java and src/main/resources was imho made = mainly to separate (Java-)code from non-code. Ruta is definitely code, = so src/main/ruta makes a lot of sense to me. For other languages, we have e.g. src/main/groovy (and there are = probably src/main/scala or src/main/flex, etc.). This makes it easier = for language-specific Maven plugins to locate the code they are supposed = to operate on. In which case would you prefer to store stuff in src/main/resources? Cheers, -- Richard