search cancel

UC4.jar: Structure of pom.xml files under META-INF/maven causes problems for Artifactory

book

Article ID: 253025

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

When building our apps that use the Automation Engine Java Application Interface, Customer imports uc4.jar into their Artifactory repository.

With version 21.0.4, errors come up while importing the file.

It appears the structure of the pom.xml files under META-INF/maven has changed, and the new structure is confusing Artifactory.

Specifically, when the parent element appears before the artifactId element, Artifactory mistakenly reads the artifactId that is a child of the parent element.

The problem goes away if these pom.xml files is edited and the 'parent' element is moved after the artifactId element.

 

Environment

Release : 21.0.4

Cause

This is a Defect.

 

Resolution

A fix will be delivered in a near minor release of AE 21.0.

Use the UC4. jar from the fixing release.

Additional Information

WORKAROUND:

Open UC4 jar file with 7zip and remove remove 'META-INF/maven' from delivery because it is not used at all.

 

Additional Reading:

See https://stackoverflow.com/questions/45946539/artifactory-jfrog-is-producing-the-wrong-parent-artifactid-in-generated-pom