Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4847

Fix local builds for integration tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.5.0.Final
    • 1.5.0.Final
    • Build and release
    • None
    • False
    • False
    • Undefined
    • 2021 Week 13-15 (from Mar 29), 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)

    Description

      During builds with Quarkus snapshots in Quarkus ecosystem CI there were test failures caused by integration-tests configuration.
      It could be reproduced by using specific settings.xml pointing just to central repositories and using a separate local repository using -Dmaven.repo.local.

      There are a few considerations:

      • Overall build of kogito-runtimes should not download any project being part of the reactor from a remote repository.
      • It should be possible to run tests using `mvn -pl :module -am` and still using only dependencies from the reactor build - no download of kogito dependencies.
      • All maven invocations (being it maven-invoker-plugin, invoker in Java, quarkus-maven-plugin, ...) should respect provided maven settings and local repository properties.

      Attachments

        Activity

          People

            jstastny@redhat.com Jan Stastny
            jstastny@redhat.com Jan Stastny
            Edoardo Vacchi Edoardo Vacchi (Inactive)
            Edoardo Vacchi Edoardo Vacchi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: