Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Talend Studio: Repository does not allow updating assets: releases (400) error when publishing a Job to Nexus from Studio

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

Talend Studio: Repository does not allow updating assets: releases (400) error when publishing a Job to Nexus from Studio

Last Update:

Feb 9, 2024 1:22:49 PM

Updated By:

Jamie_Gregory

Created date:

Apr 14, 2021 5:37:29 PM

Talend is configured with a Nexus installed on a different machine. A Job is published for the first time to Nexus using Studio. When publishing, or redeploying, the same Job to Nexus again, it fails with the following error:

java.io http://java.io) (http://java.io (http://java.io/) /) .IOException: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.example.bt14.job:wj_test:zip:0.2.0 from/to releases (http://absitstalend:8081/repository/releases/😞 Repository does not allow updating assets

Because it is against Maven best practices, Nexus, by default, disables redeployment of release artifacts. A release Group, Artifact, Version coordinate (GAV) should correspond to a unique artifact, (otherwise your builds will be inconsistent).

Resolution

To enable redeployment of a Job, change the Deployment policy field in the Repositories configuration to Allow Redeploy in Nexus.

For step-by-step instructions on how to enable redeployment, see '400 Bad Request' error when publishing a Job from Studio to Nexus.

Version history
Last update:
‎2024-02-09 01:22 PM
Updated by: