Back to snippet library
Xml Snippet #1

DEX660 - settings.xml

Remember to backup .m2/settings.xml before continuing! Also, the Connected App credentials below should have the following scopes: Exchange > Exchange Contributor Runtime Manager > Cloudhub Organization Admin, Create Applications, Delete Applications, Read Applications General > View Organization, View Environments in a particular organization scopes.

Xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
	<servers>
		<server>
			<!-- MuleSoft repository for artifacts related to Mule runtime EE -->
			<id>MuleRepository</id>
			<username>SOME_VALID_MULE_EE_NEXUS_USER</username>
			<password>SOME_VALID_MULE_EE_NEXUS_PASS</password>
		</server>
		<server>
			<id>anypoint-exchange-v3</id>
			<username>~~~Client~~~</username>
			<password>YOUR_EXCHANGE_CONTRIBUTOR_CA_CID~?~YOUR_EXCHANGE_CONTRIBUTOR_CA_SECRET</password>
		</server>
		<server>
			<id>anypoint-cloudhub-deploys</id>
			<username>~~~Client~~~</username>
			<password>YOUR_CLOUDHUB_CA_CID~?~YOUR_CLOUDHUB_CA_SECRET</password>
		</server>
	</servers>
	<profiles>
    <profile>
        <id>Mule</id>
        <activation>
            <activeByDefault>true</activeByDefault>
        </activation>
        <repositories>
            <repository>
                <id>MuleRepository</id>
                <name>MuleRepository</name>
                <url>https://repository.mulesoft.org/nexus-ee/content/repositories/releases-ee/</url>
                <layout>default</layout>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
        </repositories>
    </profile>
</profiles>
</settings>

Diagram