Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2537

Failure to create project locally when one of many maven repositories not available (not offline)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.5.0.GA
    • Business Central
    • RHEL 7.5 Workstation / JDK.8 / EAP.7.2.4 / RHPAM.7.5

    • Hide

      (1) Install RHPAM.7.5 and start it with the settings.xml attached as the value for the "kie.maven.settings.custom" parameter.

      (2) Login to RHPAM.7.5

      (3) Try to create a project

      (4) Project fails to be created

      Show
      (1) Install RHPAM.7.5 and start it with the settings.xml attached as the value for the "kie.maven.settings.custom" parameter. (2) Login to RHPAM.7.5 (3) Try to create a project (4) Project fails to be created

    Description

      Trying to create a project on a local installation of RHPAM.7.5 with the attached settings.xml.

      Project fails to create with the infamous error message

      [FATAL] Non-readable POM : input contained no data @

      followed by

      2019-11-20 17:02:04,088 ERROR [org.uberfire.ext.metadata.io.IOServiceIndexedImpl] (Thread-145) Error during indexing. { WatchEvent

      {newPath=default://master@MySpace/h7/src/test/resources/com/myspace/.h7, oldPath=null, sessionId='8c6422425334576586486e74e12053163e9d1162f6a6def14f72b76c36da4e', userName='pamAdmin', message='New module [h7]', changeType=ADD}

      }: java.lang.IllegalStateException: FileSystem is closed.

      If the maven profile referring to localhost is removed, project is created without errors.

      The settings.xml define two external maven repos (
      https://maven.repository.redhat.com/ga/ and
      https://repository.jboss.org/nexus/content/groups/public/ ) that can be reached
      without an issue.

      If only those two repositories are defined the project can be created without an
      issue.

      As soon as a third repository is added (
      http://localhost:8081/repository/maven-releases/ ) that is not available, the
      project fails to create.
      In fact any repository that cannot be reached will trigger the same behavior, i.e. fail to create the project

      Could be related to https://issues.jboss.org/browse/RHPAM-2517

      Attachments

        Activity

          People

            abkuma abhishek kumar
            rouvas Stathis Rouvas (Inactive)
            Barbora Siskova Barbora Siskova
            Barbora Siskova Barbora Siskova
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: