You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2015/08/16 16:48:45 UTC

[jira] [Resolved] (UIMA-4513) ruta-maven-plugin does not handle import by name correctly

     [ https://issues.apache.org/jira/browse/UIMA-4513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl resolved UIMA-4513.
-------------------------------
    Resolution: Fixed

fixed and added integration test

> ruta-maven-plugin does not handle import by name correctly
> ----------------------------------------------------------
>
>                 Key: UIMA-4513
>                 URL: https://issues.apache.org/jira/browse/UIMA-4513
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.3.0ruta, 2.3.1ruta
>         Environment: Mac OS X, Eclipse 4.4 (Kepler), Maven 3.2.1
>            Reporter: Sebastian Furth
>            Assignee: Peter Klügl
>            Priority: Critical
>             Fix For: 2.3.1ruta
>
>
> We have two "mavenized" Ruta projects (Project A and B). The pom files in these projects strictly follow the ruta-maven-example.
> Project A contains some basic scripts that shall be reused in other Ruta projects. Thus Project B has a maven dependency to Project A.
> The ruta-maven-plugin has a configuration parameter that handles the type of import (by location or by name), e.g. <importByName>false</importByName>
> Setting importByName to true rises the following issues:
> 1. The generated TypeSystem descriptors do not contain the types of the BasicTypeSystem, i.e. the scripts can not resolve the basic types.
> 2. The generated Engine descriptors contain import statements that are not fully qualified, i.e. the package of referenced engines is missing.
> The following example shows the errornous import of the TypeSystem „com.denkbares.ruta.structures.LinesTypeSystem"
>         <typeSystemDescription>
>             <imports>
>                 <import name="LinesTypeSystem"/>
>             </imports>
>         </typeSystemDescription>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)