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

    • 3
    • Release Notes, Migration, User Experience
    • CR1
    • 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.
    • 2018 Week 39-41, 2018 Week 42-44, 2018 Week 45-47, 2018 Week 48-50, 2019 Week 02-04, 2018 Week 51-01, 2019 Week 05-07, 2019 Week 08-10, 2019 Week 11-13

    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

      Attachments

        1. debug-eap.log
          8.13 MB
        2. myapp-rhpamcentr-1-7t66tt.log
          824 kB
        3. myapp-rhpamcentr-1-w8txt.log
          367 kB
        4. settings.xml
          1 kB
        5. stacktrace.txt
          53 kB

        Issue Links

          Activity

            People

              mdessi-1 Massimiliano Dessi
              jakubschwan Jakub Schwan
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: