
Questions: 23,728 //
Answers: 52,300 //
Contributing Members: 17,997
I added a private connector to our private exchange.
I added the repository to my POM file using:
<repository>
<id>Repository</id>
<name>Corporate Repository</name>
<url>https://maven.anypoint.mulesoft.com/api/v1/organizations/(our organization id)/maven</url>
<layout>default</layout>
</repository>
Added the dependency:
<dependency>
<groupId>(group ID)</groupId>
<artifactId>mule-module-iseries</artifactId>
<version>1.0.16</version>
</dependency>
Do I need to add anything to the settings.xml in Maven? We have the EE of Mulesoft and have the server and repository in the settings.xml. Do I need to do the same for the private exchange URL? If I do, is the user/password the client ID and password for the organization? Or the same as the EE user / password?
Thanks for any help! Warren
May 15, 2018 at 02:50 AM, brad_c answered with:
Hi @warrenkuhl,
You will need to provide a server element in your settings.xml to specify the credentials, which are based on your own personal Anypoint Platform credentials.
In my case, I have the following in the settings.xml (rather than in the POM):
<repository>
<id>Mulesoft-IPA</id>
<name>IPA Exchange Repository</name>
<url>https://maven.anypoint.mulesoft.com/api/v1/organizations/---ORG_ID---/maven</url>
<layout>default</layout>
</repository>
And also the following:
<servers>
<server>
<id>Mulesoft-IPA</id>
<username>~~~Token~~~</username>
<password>---ACCESS-TOKEN---</password>
</server>
</servers>
Where ---ACCESS-TOKEN--- is replaced with your Anypoint access token. See the details here for instructions on how to find this.
Note that you can also specify your Anypoint username & password directly here instead of using an access token, if you wish.
May 15, 2018 at 12:07 PM, warrenkuhl answered with:
Brad,
I really appreciate your help! I have spent hours on this (plus working with support) and couldn't get it figured out.
Thanks again!!!!
Warren