Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Support ticket for this request: IT-27489 [Linux Foundation] [Public]

...

...

Important Note:
This project did not contain any modules at this point in time.

DMI Version: 1.6.0-SNAPSHOT

...

(root: ncmp-dmi-plugin) ├── src/main/java/
Code Block
Expand
titleUpload files to Nexus (Successfully uploaded)

OT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.jar.sha1 (40.0 b)
07:34:01 Attempting to upload org/onap/cps/ncmp

/

-dmi

/ │ └── ... └── pom.xml

...

-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-

...

Expand
titleUpload files to Nexus (Successfully uploaded)

1.6.0-20240627.073350-54.jar.md5 (32.0 b)
07:34:01 #######################################################
07:34:01 Deploying directory /w/workspace/cps-Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots 1.6.0-20240627.073350-54.pom (29.38 kb)
07:34:01 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml (627.0 b)
07:34:01 Attempting to upload org/onap/cps1.6.0-SNAPSHOT/ncmp-dmi-plugin/maven-metadata.xml-1.6.0-20240627.073350-54.pom.sha1 (40.0 b)
07:34:01 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.pom.md5 (32.0 b)
07:34:01 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (78040.0 b)
07:34:01 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.jar (63.12 mbmaven-metadata.xml.md5 (32.0 b)
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOTmaven-metadata.xml
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-1metadata.6.0-20240627.073350-54.jar.sha1 (40.0 b)xml.sha1
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1maven-metadata.6.0-SNAPSHOTxml.md5
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin-/1.6.0-20240627.073350-54.jar.md5 (32.0 b)SNAPSHOT/maven-metadata.xml
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.pom (29.38 kb)jar
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.pomjar.sha1 (40.0 b)
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.pomjar.md5 (32.0 b)
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)ncmp-dmi-plugin-1.6.0-20240627.073350-54.pom
07:34:01 Attempting to upload 02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)ncmp-dmi-plugin-1.6.0-20240627.073350-54.pom.sha1
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml
07:34:02 Successfully uploaded org/onap/cps/1.6.0-SNAPSHOT/ncmp-dmi-plugin/maven-metadata1.xml.sha1
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml6.0-20240627.073350-54.pom.md5
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.jarmaven-metadata.xml.md5
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/Finished deploying /w/workspace/cps-ncmp-dmi-plugin-1.6.0-20240627.073350-54.jar.sha1maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/#######################################################

Converted NCMP-DMI-Plugin to use modular structure

A patch was introduced to implement Maven modules in this project. This change consolidated the entire service into a single module.

DMI Version: 1.6.0-SNAPSHOT

...

Code Block
(root: ncmp-dmi-plugin
-1.6.0-20240627.073350-54.jar.md5
07:34:02 Successfully uploaded
)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp
-
/dmi
-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.073350-54.pom
07:34:02 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/
/
│   │   └── ...
│   └── pom.xml
└── pom.xml

Outcome:
After this change, the merge job began failing.

Logs for Failure:
Console Log for cps-ncmp-dmi-plugin-

...

maven-merge-master #1334(Jenkins)

Expand
titleUpload files to Nexus (Failed to upload to Nexus with status code: 403)

11:15:23 #######################################################
11:15:23 Deploying directory /w/workspace/cps-ncmp-dmi-plugin/1.6.0-SNAPSHOT-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-1metadata.6.0-20240627.073350-54.pom.md5
07:34:02 Successfully uploaded xml (627.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOTmaven-metadata.xml.sha1 (40.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1
07:34:02 Successfully uploaded md5 (32.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml (780.md50 b)
0711:34:02 Finished deploying /w/workspace/cps-15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
07:34:02 #######################################################

Converted NCMP-DMI-Plugin to use modular structure

A patch was introduced to implement Maven modules in this project. This change consolidated the entire service into a single module.

...

1.6.0-20240627.111215-55.pom (1.73 kb)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT

...

Code Block
(root:

/ncmp-dmi-plugin

) ├── dmi-service/ │ ├── src/main/java/

-1.6.0-20240627.111215-55.pom.sha1 (40.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp

/

-dmi

/ │ │ └── ... │ └── pom.xml └── pom.xml

Outcome:
After this change, the merge job began failing.

...

-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-

...

Expand
titleUpload files to Nexus (Failed to upload to Nexus with status code: 403)

1.6.0-20240627.111215-55.pom.md5 (32.0 b)
11:15:23 #######################################################
11:15:23 Deploying directory /w/workspace/cps-Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots metadata.xml.sha1 (40.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (62732.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-pluginservice/maven-metadata.xml .sha1 (40283.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-pluginservice/maven-metadata.xml.md5 sha1 (3240.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/service/maven-metadata.xml.md5 (78032.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-pluginservice/1.6.0-SNAPSHOT/ncmp-dmi-pluginservice-1.6.0-20240627.111215111512-551.pom jar (163.73 kb12 mb)
11:15:23 Attempting to upload ERROR: Uploading org/onap/cps/ncmp-dmi-pluginservice/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.111215-55.pom.sha1 (40.0 b)maven-metadata.xml: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/maven-metadata.xml
11:15:23 Attempting to upload ERROR: Uploading org/onap/cps/ncmp-dmi-pluginservice/1maven-metadata.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.111215-55.pom.md5 (32.0 b)xml.sha1: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/service/maven-metadata.xml.sha1 (40.0 b)
11:15:23 Attempting to upload org/onap/cps/ncmp-dmi-pluginservice/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32dmi-service-1.6.0-20240627.111512-1.jar.sha1 (40.0 b)
11:15:23 Attempting to upload ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml (283.0 b).md5: Failed to upload to Nexus with status code: 403.
11:15:23 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.sha1 (40.0 b)
11:15:23 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.md5 (32.0 b)
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.md5 (6332.12 mb0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/maven-metadata.xml
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.sha1: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/maven-metadata.xml.sha1
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.sha1 (40.0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.md5: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/maven-metadata.xml.md5
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.md5 (32.0 b)
11:15:23 ERROR: Uploading Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.sha1: Failed to upload to Nexus with status code: 403.pom (28.25 kb)
11:15:23
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jarpom.sha1 (40.0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.md5pom: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar.md5
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.pom (28.25 kb)
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.pom.sha1 md5 (4032.0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.pom.sha1: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.pom.sha1
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmimaven-service-1.6.0-20240627.111512-1.pom.md5 (32metadata.xml (773.0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.pom.sha1md5: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.pom.sha1md5
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (77340.0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmimaven-service-1.6.0-20240627.111512-1.pom.md5metadata.xml: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmimaven-service-1.6.0-20240627.111512-1.pom.md5
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
11:15:23 metadata.xml
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
11:15:23 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5
11:15:23 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20240627.111512-1.jar
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.111215-55.pom
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.111215-55.pom.sha1
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20240627.111215-55.pom.md5
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
11:15:23 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5
11:15:23 ERROR: Failed to upload to Nexus with status code: 403.
11:15:23
11:15:23 org/onap/cps/dmi-service/maven-metadata.xml
11:15:24 Build step 'Execute shell' marked build as failure

...

DMI Version: 1.6.0-SNAPSHOT

Current Status:
The merge job is still failing.

Code Block
languagehtml
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml
├── dmi-plugin-demo-and-csit-stub/
│   ├── dmi-plugin-demo-and-csit-stub-app/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│   │   └── pom.xml
│   ├── dmi-plugin-demo-and-csit-stub-service/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│	│	└── pom.xml
│   └── pom.xml
└── pom.xml

...

DMI Version: 1.6.0-SNAPSHOT

Current Status:
The merge job is still failing.

Code Block
languagehtml
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml
├── dmi-stub/
│   ├── dmi-stub-app/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...     
│   │   └── pom.xml
│   ├── dmi-stub-service/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│	│	└── pom.xml
│   └── pom.xml
└── pom.xml

...

DMI Version: 1.6.0-SNAPSHOT

Current Status:
The merge job is still failing.

Code Block
languagehtml
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml
└── pom.xml

...

Expand
titleUpload files to Nexus (Failed to upload to Nexus with status code: 403)
Code Block
09:56:31 -----> Upload files to Nexus
09:56:32 #######################################################
09:56:32 Deploying directory /w/workspace/cps-ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
09:56:32 Deploying directory /w/workspace/cps-ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml (667.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml (608.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom (8.76 kb)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
09:56:32 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml (283.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom (27.54 kb)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml.md5
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml.sha1
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5 (32.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar (63.14 mb)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.sha1
09:56:32 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1 (40.0 b)
09:56:32 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5 (32.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.sha1
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar.md5
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml (773.0 b)
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml
09:56:33 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Uploading org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.jar
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/maven-metadata.xml.md5
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom.md5
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33 org/onap/cps/dmi-service/maven-metadata.xml
09:56:33 Build step 'Execute shell' marked build as failure

Build NCMP-DMI-Plugin and publish it to a local repository

Step 1: Checkout Source Code from Git Repository

...

Step 2: Build the project – When building the project run from the root ncmp-dmi-plugin folder : mvn clean install

...

Step 3: Verify if docker images are pushed into local repository

...

Build artefacts (cps, then ncmp-dmi-plugin):

Info
Code Block
[mwatkins@matts cps] (🌴master)$ pwd
/tmp/onap/cps
[mwatkins@matts cps] (🌴master)$ find . -name *.jar
./jacoco-report/target/jacoco-report-3.5.5-SNAPSHOT.jar
./policy-executor-stub/target/policy-executor-stub-3.5.5-SNAPSHOT.jar
./checkstyle/target/checkstyle-3.5.5-SNAPSHOT.jar
./cps-events/target/cps-events-3.5.5-SNAPSHOT.jar
./cps-service/target/cps-service-3.5.5-SNAPSHOT.jar
./cps-application/target/cps-application-3.5.5-SNAPSHOT.jar
./cps-application/target/cps-application-3.5.5-SNAPSHOT-springboot.jar
./spotbugs/target/spotbugs-3.5.5-SNAPSHOT.jar
./cps-ncmp-events/target/cps-ncmp-events-3.5.5-SNAPSHOT.jar
./integration-test/target/integration-test-3.5.5-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-service/target/bug-pattern-1.5.0.jar
./ncmp-dmi-plugin/dmi-service/target/dmi-service-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-app/target/dmi-stub-app-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-service/target/dmi-stub-service-1.6.0-SNAPSHOT.jar
./cps-rest/target/cps-rest-3.5.5-SNAPSHOT.jar
./cps-ncmp-service/target/cps-ncmp-service-3.5.5-SNAPSHOT.jar
./cps-ri/target/cps-ri-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest-stub/cps-ncmp-rest-stub-app/target/cps-ncmp-rest-stub-app-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/target/cps-ncmp-rest-stub-service-3.5.5-SNAPSHOT.jar
./cps-path-parser/target/cps-path-parser-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest/target/cps-ncmp-rest-3.5.5-SNAPSHOT.jar

It’s these artefacts that are the problem:

Code Block
./ncmp-dmi-plugin/dmi-service/target/bug-pattern-1.5.0.jar
./ncmp-dmi-plugin/dmi-service/target/dmi-service-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-app/target/dmi-stub-app-1.6.0-SNAPSHOT.jar
./ncmp-dmi-plugin/dmi-stub/dmi-stub-service/target/dmi-stub-service-1.6.0-SNAPSHOT.jar

Here’s the latest merge/release job console output:

https://jenkins.onap.org/job/cps-ncmp-dmi-plugin-maven-merge-master/1523/consoleFull

e.g.

07:34:17 Attempting to upload org/onap/cps/dmi-service/1.6.0-SNAPSHOT/

The pom.xml file needs updating so that the output target is:

org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/

...

image-20241126-155041.pngImage Added Resolution

We changed NCMP-DMI-Plugin project group id is changed from "org.onap.cps" to "org.onap.cps.ncmp-dmi-plugin"

Related patch here

DMI Version: 1.6.0-SNAPSHOT

Code Block
(root: ncmp-dmi-plugin)
├── dmi-service/
│   ├── src/main/java/org/onap/cps/ncmp/dmi/
│   │   └── ...
│   └── pom.xml (Inherited from parent pom (ncmp-dmi-plugin) <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>)
├── dmi-stub/
│   ├── dmi-stub-app/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...     
│   │   └── pom.xml (Inherited from parent pom (dmi-stub) <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>)
│   ├── dmi-stub-service/
│   │   ├── src/main/java/org/onap/cps/ncmp/dmi/rest/stub
│   │   │   └── ...
│	│	└── pom.xml (Inherited from parent pom (dmi-stub) <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>)
│   └── pom.xml (Inherited from parent pom (ncmp-dmi-plugin) <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>)
└── pom.xml ( <groupId>org.onap.cps.ncmp-dmi-plugin</groupId>)

Last Successful Merge Job Log:
cps-ncmp-dmi-plugin-maven-merge-master #1525 Console (Jenkins)

Expand
titleUpload files to Nexus (Successfully uploaded)
Code Block
14:43:48 -----> Upload files to Nexus
14:43:49 #######################################################
14:43:49 Deploying directory /w/workspace/cps-ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/maven-metadata.xml (683.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/maven-metadata.xml.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml (624.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/maven-metadata.xml.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241126.144151-241.pom (8.85 kb)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241126.144151-241.pom.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241126.144151-241.pom.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/maven-metadata.xml (299.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/maven-metadata.xml.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/maven-metadata.xml.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241126.144328-1.pom.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241126.144328-1.pom (27.56 kb)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241126.144328-1.pom.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241126.144328-1.jar (63.14 mb)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241126.144328-1.jar.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241126.144328-1.jar.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml (789.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/maven-metadata.xml (296.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/maven-metadata.xml.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/maven-metadata.xml.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/dmi-stub-1.6.0-20241126.144329-1.pom (4.15 kb)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/dmi-stub-1.6.0-20241126.144329-1.pom.sha1 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/dmi-stub-1.6.0-20241126.144329-1.pom.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/maven-metadata.xml (613.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (66740.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/maven-metadata.xml.sha1md5 (4032.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/maven-metadata.xml.md5 (32304.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOTdmi-stub-service/maven-metadata.xml.sha1 (60840.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-plugin-1.6.0-20241121.095440-234.pom (8.76 kb)
09:56:32stub-service/maven-metadata.xml.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/ncmpdmi-dmistub-pluginservice-1.6.0-2024112120241126.095440144334-2341.pom.sha1 (407.0 bkb)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/ncmpdmi-dmistub-pluginservice-1.6.0-2024112120241126.095440144334-2341.pom.md5sha1 (3240.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1 (40dmi-stub-service-1.6.0-20241126.144334-1.pom.md5 (32.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:32 Attempting to upload org/onap/cps/dmi-service/maven-metadata.xml (283.0 b)
09:56:32dmi-stub-service-1.6.0-20241126.144334-1.jar (49.25 kb)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/maven-metadata.xml/1.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-1.jar.sha1 (40.0 b)
0914:5643:32 ERROR: Uploading49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service/maven-metadata.xml
09:56:321.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-1.jar.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/dmi-service/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32794.0 b)
0914:5643:3249 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/dmimaven-service-1metadata.6.0-20241121.095621-1.pomxml.sha1 (2740.540 kbb)
0914:5643:32 ERROR: Uploading49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/maven-metadata1.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 org/onap/cps/dmi-service6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:32 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOTplugin/dmi-service-1.6.0-20241121.095621-1.pom.sha1 (40stub-app/maven-metadata.xml (300.0 b)
0914:5643:32 ERROR: Uploading49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-serviceapp/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32 (40.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-servicestub-app/maven-metadata.xml.sha1
09:56:32.md5 (32.0 b)
14:43:49 Attempting to upload org/onap/cps/ncmp-dmi-serviceplugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-servicestub-app-1.6.0-2024112120241126.095621144338-1.pom.md5 (325.099 bkb)
0914:5643:32 ERROR: Uploading50 Attempting to upload org/onap/cps/ncmp-dmi-serviceplugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-stub-serviceapp-1.6.0-2024112120241126.095621144338-1.pom: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32.sha1 (40.0 b)
14:43:50 Attempting to upload org/onap/cps/ncmp-dmi-serviceplugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-servicestub-app-1.6.0-2024112120241126.095621144338-1.pom
09:56:32.md5 (32.0 b)
14:43:50 Attempting to upload org/onap/cps/ncmp-dmi-serviceplugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-stub-serviceapp-1.6.0-2024112120241126.095621144338-1.jar (6323.1447 mbkb)
0914:5643:32 ERROR: Uploading50 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-servicestub-app/1.6.0-SNAPSHOT/dmi-servicestub-app-1.6.0-2024112120241126.095621144338-1.pomjar.sha1: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32(40.0 b)
14:43:50 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-servicestub-app/1.6.0-SNAPSHOT/dmi-stub-serviceapp-1.6.0-2024112120241126.095621144338-1.pom.sha1
09:56:32jar.md5 (32.0 b)
14:43:50 Attempting to upload org/onap/cps/ncmp-dmi-serviceplugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-service-maven-metadata.xml (790.0 b)
14:43:50 Attempting to upload org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/1.6.0-20241121.095621-1.jarSNAPSHOT/maven-metadata.xml.sha1 (40.0 b)
0914:5643:32 ERROR: Uploading50 Attempting to upload org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOTplugin/dmi-servicestub-app/1.6.0-20241121.095621-1.pom.md5: Failed to upload to Nexus with status code: 403.
09:56:32 
09:56:32SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/maven-metadata.xml
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-plugin/maven-metadata.xml.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-20241121.095621-1.pom.md5
09:56:33 Attempting to upload plugin/ncmp-dmi-plugin/maven-metadata.xml.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOT/dmi-service-plugin/ncmp-dmi-plugin/1.6.0-20241121.095621-1.jar.md5 (32.0 b)
09:56:33 ERROR: UploadingSNAPSHOT/maven-metadata.xml
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-serviceplugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-serviceplugin-1.6.0-20241121.095621-1.jar.sha1: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33.0-20241126.144151-241.pom
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service-plugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/ncmp-dmi-serviceplugin-1.6.0-2024112120241126.095621144151-1241.jarpom.sha1
0914:5643:3350 ERROR:Successfully Uploadinguploaded org/onap/cps/ncmp-dmi-plugin/ncmp-dmi-serviceplugin/1.6.0-SNAPSHOT/ncmp-dmi-serviceplugin-1.6.0-2024112120241126.095621144151-1241.jarpom.md5: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOT/dmi-service-plugin/ncmp-dmi-plugin/1.6.0-20241121.095621-1.jar.md5
09:56:33 Attempting to uploadSNAPSHOT/maven-metadata.xml.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-serviceplugin/ncmp-dmi-plugin/1.6.0-SNAPSHOT/maven-metadata.xml (773.0 b)
09:56:33 Attempting to upload md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOTplugin/dmi-service/maven-metadata.xml.sha1 (40.0 b)
09:56:33 ERROR: Uploading
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOTplugin/dmi-service/maven-metadata.xml: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-service/1.6.0-SNAPSHOTplugin/dmi-service/maven-metadata.xml.md5
0914:5643:3350 AttemptingSuccessfully to uploaduploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5 (32.0 b)
09:56:33 ERROR: Uploadingdmi-service-1.6.0-20241126.144328-1.pom
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33dmi-service-1.6.0-20241126.144328-1.pom.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
09:56:33 ERROR: Uploadingdmi-service-1.6.0-20241126.144328-1.pom.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33dmi-service-1.6.0-20241126.144328-1.jar
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5
09:56:33 ERROR: Uploadingdmi-service-1.6.0-20241126.144328-1.jar.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/dmi-service-1.6.0-2024112120241126.095621144328-1.jar: Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service-/1.6.0-SNAPSHOT/maven-20241121metadata.095621-1xml.jarsha1
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-service/1.6.0-SNAPSHOT/maven-metadata.xml.md5
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-pluginplugin/dmi-stub/maven-metadata.xml.sha1
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/maven-metadata.xml.md5sha1
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/1.6.0-SNAPSHOTdmi-stub/maven-metadata.xml.md5
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/ncmp-dmi-pluginstub-1.6.0-2024112120241126.095440144329-2341.pom
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/ncmp-dmi-pluginstub-1.6.0-2024112120241126.095440144329-2341.pom.sha1
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/ncmp-dmi-pluginstub-1.6.0-2024112120241126.095440144329-2341.pom.md5
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/maven-metadata.xml.sha1
0914:5643:3350 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/maven-metadata.xml.md5sha1
0914:5643:3350 ERROR:Successfully Failed to upload to Nexus with status code: 403.
09:56:33 
09:56:33uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/1.6.0-SNAPSHOT/maven-metadata.xml.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/maven-metadata.xml
0914:5643:3350 BuildSuccessfully step 'Execute shell' marked build as failure

Build NCMP-DMI-Plugin and publish it to a local repository

Step 1: Checkout Source Code from Git Repository

...

uploaded org/onap/cps/ncmp-dmi-plugin

...

image-20241125-132044.pngImage Removed

Step 2: Build the project – When building the project run from the root ncmp-dmi-plugin folder : mvn clean install

image-20241125-131704.pngImage Removed

Step 3: Verify if docker images are pushed into local repository

image-20241125-131924.pngImage Removed

Build artefacts (cps, then ncmp-dmi-plugin):

Info
Code Block
[mwatkins@matts cps] (🌴master)$ pwd
/tmp/onap/cps
[mwatkins@matts cps] (🌴master)$ find . -name *.jar
./jacoco-report/target/jacoco-report-3.5.5-SNAPSHOT.jar
./policy-executor-stub/target/policy-executor-stub-3.5.5-SNAPSHOT.jar
./checkstyle/target/checkstyle-3.5.5-SNAPSHOT.jar
./cps-events/target/cps-events-3.5.5-SNAPSHOT.jar
./cps-service/target/cps-service-3.5.5-SNAPSHOT.jar
./cps-application/target/cps-application-3.5.5-SNAPSHOT.jar
./cps-application/target/cps-application-3.5.5-SNAPSHOT-springboot.jar
./spotbugs/target/spotbugs-3.5.5-SNAPSHOT.jar
./cps-ncmp-events/target/cps-ncmp-events-3.5.5-SNAPSHOT.jar
./integration-test/target/integration-test-3.5.5-SNAPSHOT.jar
./dmi-stub-service/maven-metadata.xml.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/maven-metadata.xml.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-1.pom
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-1.pom.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-1.pom.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/1.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-1.jar
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/target/bug-pattern1.6.0-SNAPSHOT/dmi-stub-service-1.56.0-20241126.144334-1.jar
..sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-service/target1.6.0-SNAPSHOT/dmi-stub-service-1.6.0-20241126.144334-SNAPSHOT1.jar
..md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/dmi-stub-app/target-service/1.6.0-SNAPSHOT/maven-metadata.xml
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app-service/1.6.0-SNAPSHOT.jar
./maven-metadata.xml.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub/dmi-stub-service/target/dmi-stub-service-1.6.0-SNAPSHOT.jar
./cps-rest/target/cps-rest-3.5.5-SNAPSHOT.jar
./cps-ncmp-service/target/cps-ncmp-service-3.5.5-SNAPSHOT.jar
./cps-ri/target/cps-ri-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest-stub/cps-ncmp-rest-stub-app/target/cps-ncmp-rest-stub-app-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest-stub/cps-ncmp-rest-stub-service/target/cps-ncmp-rest-stub-service-3.5.5-SNAPSHOT.jar
./cps-path-parser/target/cps-path-parser-3.5.5-SNAPSHOT.jar
./cps-ncmp-rest/target/cps-ncmp-rest-3.5.5-SNAPSHOT.jar

It’s these artefacts that are the problem:

Code Block
./ncmp-dmi-plugin/dmi-service/target/bug-pattern-1.5.0.jar .
/maven-metadata.xml.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/maven-metadata.xml
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/maven-metadata.xml.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/maven-metadata.xml.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-stub-app-1.6.0-20241126.144338-1.pom
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-stub-app-1.6.0-20241126.144338-1.pom.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-app/1.6.0-SNAPSHOT/dmi-stub-app-1.6.0-20241126.144338-1.pom.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub-
service/target
app/1.6.0-SNAPSHOT/dmi-stub-
service
app-1.6.0-
SNAPSHOT
20241126.144338-1.jar
.

14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub
/dmi-stub
-app/
target
1.6.0-SNAPSHOT/dmi-stub-app-1.6.0-
SNAPSHOT
20241126.144338-1.jar
.
.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-stub
/dmi-stub-service/target/
-app/1.6.0-SNAPSHOT/dmi-stub-
service
app-1.6.0-
SNAPSHOT.jar

Here’s the latest merge/release job console output:

...

20241126.144338-1.jar.md5
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-

...

e.g.

...

stub-app/1.6.0-SNAPSHOT/maven-metadata.xml
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-

...

plugin/dmi-stub-app/1.6.0-SNAPSHOT/

...

The pom.xml file needs updating so that the output target is:

maven-metadata.xml.sha1
14:43:50 Successfully uploaded org/onap/cps/ncmp-dmi-plugin/dmi-

...

stub-app/1.6.0-SNAPSHOT/maven-metadata.xml.md5
14:43:50 Finished deploying /w/workspace/cps-ncmp-dmi-plugin-maven-merge-master/m2repo to https://nexus.onap.org/content/repositories/snapshots
14:43:50 #######################################################

NCMP-DMI-Plugin Artifacts Location

...