sravan
sravan

Reputation: 99

Unable to deploy custom Mule Connector to Anypoint Exchange

I built a custom mule connector using Mule SDK and tested with Anypoint Studio. When I tried to deploy the Mulesoft Exchange using mvn deploy after updating the pom.xml file with Organization details, I'm running into the following Unauthorized error. Could someone point out what's causing this issue or a way to fix this?

Here is my POM.xml file: POM XML

Here is the error when running mvn deploy: Unauthorized Mule Connector error

Upvotes: 0

Views: 638

Answers (1)

aled
aled

Reputation: 25664

There is something wrong in your pom. Maven is trying to deploy to one of MuleSoft repositories, not to Exchange. Note the URL in the error doesn't match the one in the distributionManagement section.

Did you set the groupId to the org id? It doesn't look like it in the error.

Be sure to follow all the steps in the instructions: https://docs.mulesoft.com/exchange/to-publish-assets-maven#publish-an-asset-to-exchange-using-maven

Upvotes: 0

Related Questions