Created
November 1, 2022 10:51
Deploy CH2 - Full Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>YOUR_ORG_ID</groupId> | |
<artifactId>hello-cloudhub-v2</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>mule-application</packaging> | |
<name>hello-cloudhub-v2</name> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<app.runtime>4.4.0-20220922</app.runtime> | |
<mule.maven.plugin.version>3.8.1</mule.maven.plugin.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>3.0.0</version> | |
</plugin> | |
<plugin> | |
<groupId>org.mule.tools.maven</groupId> | |
<artifactId>mule-maven-plugin</artifactId> | |
<version>${mule.maven.plugin.version}</version> | |
<extensions>true</extensions> | |
<configuration> | |
<classifier>mule-application</classifier> | |
<cloudhub2Deployment> | |
<uri>https://anypoint.mulesoft.com</uri> | |
<provider>MC</provider> | |
<environment>dev</environment> | |
<target>Cloudhub-EU-West-2</target> | |
<muleVersion>4.4.0</muleVersion> | |
<server>anypoint-exchange-v3</server> | |
<applicationName>${project.name}</applicationName> | |
<businessGroupId>${project.groupId}</businessGroupId> | |
<replicas>1</replicas> | |
<vCores>0.1</vCores> | |
<deploymentSettings> | |
<lastMileSecurity>false</lastMileSecurity> | |
<forwardSslSession>false</forwardSslSession> | |
<generateDefaultPublicUrl>true</generateDefaultPublicUrl> | |
</deploymentSettings> | |
</cloudhub2Deployment> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.mule.connectors</groupId> | |
<artifactId>mule-http-connector</artifactId> | |
<version>1.7.1</version> | |
<classifier>mule-plugin</classifier> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.connectors</groupId> | |
<artifactId>mule-sockets-connector</artifactId> | |
<version>1.2.2</version> | |
<classifier>mule-plugin</classifier> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>anypoint-exchange-v3</id> | |
<name>Anypoint Exchange</name> | |
<url>https://maven.anypoint.mulesoft.com/api/v3/maven</url> | |
<layout>default</layout> | |
</repository> | |
<repository> | |
<id>mulesoft-releases</id> | |
<name>MuleSoft Releases Repository</name> | |
<url>https://repository.mulesoft.org/releases/</url> | |
<layout>default</layout> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>mulesoft-releases</id> | |
<name>MuleSoft Releases Repository</name> | |
<layout>default</layout> | |
<url>https://repository.mulesoft.org/releases/</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<distributionManagement> | |
<repository> | |
<id>anypoint-exchange-v3</id> | |
<name>Exchange Private Repository</name> | |
<url>https://maven.anypoint.mulesoft.com/api/v3/organizations/${project.groupId}/maven</url> | |
<layout>default</layout> | |
</repository> | |
</distributionManagement> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment