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 2017/03/08 10:00:47 UTC

[jira] [Created] (UIMA-5358) Ruta: adapt build and depednecnies for uima-sdk-3.0.0-alpha02

Peter Klügl created UIMA-5358:
---------------------------------

             Summary: Ruta: adapt build and depednecnies for uima-sdk-3.0.0-alpha02
                 Key: UIMA-5358
                 URL: https://issues.apache.org/jira/browse/UIMA-5358
             Project: UIMA
          Issue Type: Task
          Components: Ruta
    Affects Versions: 2.5.0ruta
            Reporter: Peter Klügl
            Assignee: Peter Klügl


Marhsall reported in his vote mail:

3) Some of the ep plugins need the version of the maven-bundle-plugin updated to
3.0.1; otherwise there are strange errors about missing dependencies.  I'm not
sure why.  It may have something to do with Java 8.
 
Plugins needing upgrading to 3.0.1 to avoid this issue are:
    ruta-ep-example-extensions
    ruta-ep-addons
    ruta-ep-core-ext
    ruta-ep-engine
    ruta-ep-ide
    ruta-ep-ide-ui
    ruta-ep-textruler

I had issues in core uima with making **all** of the maven-bundle-plugin version
3.0.1 - everything appeared to work OK, but the building of the update site P2
repository for some reason left out some of the plugins.  When I reverted back
to 2.3.7, for those, it worked.  So this might take more investigation to get to
the underlying root causes.

4) I had to fix an (already reported) problem in ruta-ep-example-extensions
where the type system for NBSP's super type was incorrect.  Changed in
example-projects/ruta-ep-example-extensions, the src/test/resources 
/org/apache/uima  /ruta/example/extensions  /BasicTypeSystem.xml:  supertype for
NBSP changed to org.apache.uima.ruta.type SPACE (was ...ANY).

5) [Enable test case logging] Because the default logging in core uima is a NOP,
add a dependency to 5 projects that want the v2-style logging for testing:
Note scope: test:

    <!-- hook up to standard Java logger as back end -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <scope>test</scope>
    </dependency>

To make this work without <version>, put the version info in the common
ruta-parent-pom in the <dependencyManagement> section:

    <!-- hook up to standard Java logger as back end -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-jdk14</artifactId>
      <version>1.7.24</version>
      <scope>test</scope>
    </dependency>
     
projects:
    ruta-core
    ruta-core-ext
    ruta-maven-plugin
    example-projects/ruta-ep-example-extensions
    example-projects/ruta-maven-example

With these changes, I could build everything (including the junit and
integration tests) with mvn clean install.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)