Steps to Publish the Custom Connector
To construct the elements of a Maven POM file, you need to determine your organization ID:
- Log into Anypoint Platform and click Access Management.
- Click the organization name for the top level or a business group, and view your Organization ID in the Organization Info screen.
- Copy the organization ID.
- Modify the groupId of the Maven project to be your Organization ID in your Java SDK project's pom.xml.

- 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.

- 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.

- Publish your asset to Exchange using this Maven command:
mvn deploy
from DZone.com Feed https://ift.tt/2zeWEon
No comments:
Post a Comment