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

Project can't be built and deployed in Business Central when connected to snapshot Maven repo

    XMLWordPrintable

    Details

    • Affects Build:
      CR1
    • Target Release:
    • Steps to Reproduce:
      Hide
      • Start local Nexus repo, for example by using Docker image (wait until it is running, you can check it on http://localhost:8081)

        docker run -d -p 8081:8081 --name nexus sonatype/nexus3
        

      • Install EAP with Business central
      • Set system property

        kie.maven.settings.custom

        to settings.xml which will point to Nexus snapshot repo. Example setting.xml is in attachment. Note that credentials admin/admin123 used in the settings.xml are available by default in the nexus3 docker image.

      • Start EAP, log into Business central, try to create a project => an error is thrown.
      Show
      Start local Nexus repo, for example by using Docker image (wait until it is running, you can check it on http://localhost:8081 ) docker run -d -p 8081:8081 --name nexus sonatype/nexus3 Install EAP with Business central Set system property kie.maven.settings.custom to settings.xml which will point to Nexus snapshot repo. Example setting.xml is in attachment. Note that credentials admin/admin123 used in the settings.xml are available by default in the nexus3 docker image . Start EAP, log into Business central, try to create a project => an error is thrown.
    • Story Points:
      3
    • Affects:
      Release Notes, Migration, User Experience
    • Sprint:
      2018 Week 39-41, 2018 Week 42-44

      Description

      When I tried to import sample project (e.g. evaluation) to the space, the following exception was thrown: exception stored in attachment.

      Then I tried build and deploy project, but build failed and in Alerts was the following message:

      maven pom.xml found, but unable to read org.appformer.maven.integration.embedder.MavenEmbedderException: Failed to read artifact descriptor for org.kie:kie-api:jar:7.11.0.Final-redhat-00001
      

      Then I tried to create a new project in BC and the following exception was return to me in dialog window:

      Unable to complete your request. The following exception occurred: org.appformer.maven.integration.embedder.MavenEmbedderException: Failed to read artifact descriptor for org.kie:kie-internal:jar:7.11.0.Final-redhat-00001.
      

      I attached Business Central log

        Gliffy Diagrams

          Attachments

          1. myapp-rhpamcentr-1-7t66tt.log
            824 kB
          2. settings.xml
            1 kB
          3. stacktrace.txt
            53 kB

            Activity

              People

              • Assignee:
                porcelli Alexandre Porcelli
                Reporter:
                jschwan Jakub Schwan
                Tester:
                Jan Hrcek
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: