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

Artifact "kie-maven-plugin" cannot be found by Business Central

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.7.0.GA
    • 7.7.0.GA
    • Business Central
    • Any environment: Authoring HA as an example

    • CR2
    • Hide

      1.- Deploy Authoring HA template
      2.- Build and deploy a new KJAR project

      Show
      1.- Deploy Authoring HA template 2.- Build and deploy a new KJAR project
    • 2020 Week 07-09 (from Feb 10)

      When deploying business central and/or building/deploying a KJAR project, we can see the next exception in the business central logs:

      10:03:24,831 INFO  [stdout] (MSC service thread 1-1) [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      10:03:24,831 INFO  [stdout] (MSC service thread 1-1) [ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.7.0.redhat-20200210 or one of its dependencies could not be resolved: Could not find artifact org.kie:kie-maven-plugin:jar:7.7.0.redhat-20200210 in central (https://repo1.maven.org/maven2 ) @ 
      10:03:24,831 INFO  [stdout] (MSC service thread 1-1) [ERROR] Unknown packaging: kjar @ line 6, column 14
      10:03:24,831 INFO  [stdout] (MSC service thread 1-1)  @ 
      10:03:24,834 ERROR [org.kie.workbench.common.screens.archetype.mgmt.backend.service.ArchetypeServiceImpl] (MSC service thread 1-1) Failed to add internal template org.kie.templates:base-kie-project:1.0.0-TEMPLATE: org.kie.workbench.common.screens.archetype.mgmt.shared.exceptions.MavenExecutionException: Some problems were encountered while processing the POMs:
      [ERROR] Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.7.0.redhat-20200210 or one of its dependencies could not be resolved: Could not find artifact org.kie:kie-maven-plugin:jar:7.7.0.redhat-20200210 in central (https://repo1.maven.org/maven2 ) @ 
      [ERROR] Unknown packaging: kjar @ line 6, column 14
      

      Which is trying to locate the artifact version using the build date 20200210 (and does not exist).

      • It's the version correct? If not, why is business central using this version or how can I configure it?
      • If the version is correct? What is the jenkins job that generates this version and why is not in the maven repository

      We think that this could affect to persistence scenarios of KJAR projects (when we restart the business central, the KJAR project are gone)

              gcaponet Guilherme Caponetto
              jcarvaja@redhat.com Jose Carvajal Hilario
              Barbora Kapustova Barbora Kapustova
              Barbora Kapustova Barbora Kapustova
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: