Tuesday, May 19, 2020

How To Publish Mule Custom Connector to Anypoint Exchange Using Maven

Steps to Publish the Custom Connector

To construct the elements of a Maven POM file, you need to determine your organization ID:

  1. Log into Anypoint Platform and click Access Management.
  2. Click the organization name for the top level or a business group, and view your Organization ID in the Organization Info screen.
  3. Copy the organization ID.
  4. Modify the groupId of the Maven project to be your Organization ID in your Java SDK project's pom.xml.



  5.   Add the Maven facade as a repository in the distribution management section of your project’s POM file. The ORGANIZATION_ID should be the one copied in step 3.



  6. Update the settings.xml file in your Maven .m2 directory to add the Anypoint Platform credentials. The Maven client reads the settings file when Maven runs.



  7. Publish your asset to Exchange using this Maven command:

mvn deploy



from DZone.com Feed https://ift.tt/2zeWEon

No comments:

Post a Comment