Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@samspeed
Last active August 23, 2018 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samspeed/2b55c9550aeca70405800a042159577d to your computer and use it in GitHub Desktop.
Save samspeed/2b55c9550aeca70405800a042159577d to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>unpack</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>[Anypoint Platform Organisation Id]</groupId>
<artifactId>[Exchange Asset Id]</artifactId>
<version>[Exchange Asset Version]</version>
<type>zip</type>
<classifier>fat-raml</classifier>
<overWrite>true</overWrite>
<outputDirectory>src/main/api/</outputDirectory>
<includes>**/*</includes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<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 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>exchange</id>
<username>[Anypoint Platform User Name]</username>
<password>[Anypoint Platform Password]</password>
</server>
</servers>
<repositories>
<repository>
<id>exchange</id>
<name>Anypoint Platform Exchange Repository</name>
<url>https://maven.anypoint.mulesoft.com/api/v1/organizations/[Anypoint Platform Organisation Id]/maven</url>
<layout>default</layout>
</repository>
</repositories>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment