Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5358

Ruta: adapt build and dependencies for uima-sdk-3.0.0-alpha02

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0ruta
    • Fix Version/s: 2.6.1ruta
    • Component/s: Ruta
    • Labels:
      None

      Description

      Marshall 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.

        Attachments

          Activity

            People

            • Assignee:
              pkluegl Peter Klügl
              Reporter:
              pkluegl Peter Klügl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: