Skip to content

Instantly share code, notes, and snippets.

@Akhi1
Last active December 6, 2020 19:03
Show Gist options
  • Save Akhi1/6d1f5ae93fa94d8a60a2e21de7ae9715 to your computer and use it in GitHub Desktop.
Save Akhi1/6d1f5ae93fa94d8a60a2e21de7ae9715 to your computer and use it in GitHub Desktop.
add a server with anypoint cloud platform credentials and a profile for archetype-repo in you .m2 > settings.xml file before publishing custom policy
<servers>
<server>
<id>exchange-server</id>
<username>anypoint_username</username>
<password>anypoint_password</password>
</server>
</servers>
<profiles>
<profile>
<id>archetype-repository</id>
<repositories>
<repository>
<id>archetype</id>
<name>Mule Repository</name>
<url>https://repository-master.mulesoft.org/nexus/content/repositories/public</url>
<releases>
<enabled>true</enabled>
<checksumPolicy>fail</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment