Missing dependencies in Red Hat GA maven repository causes an exception when a project is being compiled for RHPAM/RHDM 7

Solution Verified - Updated -

Issue

  • Missing dependency in Red Hat GA maven repository causes the following exception when compiling a project:

    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]   
    [ERROR]   The project com.bbva.compass.rules:RulesMissingATMQuestionnaire:1.0.0-SNAPSHOT (/home/jenkins/workspace/singatmquestionnaire_master-4IM4VDOGO3SO3NNTB7CIM3EJC2S3XBW7OBENZ72KC2Y5USPERKVQ/pom.xml) has 2 errors
    [ERROR]     Unresolveable build extension: Plugin org.kie:kie-maven-plugin:7.14.0.Final-redhat-00002 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.kie:kie-maven-plugin:jar:7.14.0.Final-redhat-00002: Could not find artifact org.jboss:jboss-parent:pom:29 in artifactory-global-mirror (https://globaldevtools.bbva.com/artifactory-api/repository-bpm) -> [Help 2]
    [ERROR]     Unknown packaging: kjar @ line 8, column 14
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    

    The jboss-parent:pom:9 isn't available in Red Hat GA maven repository but it is downloaded from Maven Central repository:

    Downloading from jboss-ga-plugin-repository: https://maven.repository.redhat.com/ga/org/jboss/jboss-parent/30/jboss-parent-30.pom
    Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/jboss-parent/30/jboss-parent-30.pom
    Downloaded from central: https://repo.maven.apache.org/maven2/org/jboss/jboss-parent/30/jboss-parent-30.pom (34 kB at 83 kB/s)
    

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7.4+
  • Red Hat Decision Manager (RHDM)
    • 7.4+

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content