With the Connected Apps feature, developers can delegate access to applications that use APIs to interact with Anypoint Platform programmatically. While some might use the Connected Apps feature to build CI/CD pipelines, others can productize additional third-party use-cases on top of Anypoint Platform. This functionality was supported as a part of Mule Maven Plugin 3.4.0.
<mule.maven.plugin.version>3.5.4</mule.maven.plugin.version>
...
<plugins>
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>${mule.maven.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<cloudHubDeployment>
<uri>https://anypoint.mulesoft.com</uri>
<muleVersion>${app.runtime}</muleVersion>
<businessGroup>PATH_TO_BG</businessGroup>
<applicationName>APP_NAME</applicationName>
<environment>ENVIRONMENT</environment>
<region>REGION</region>
<workers>1</workers>
<workerType>MICRO</workerType>
<properties>
<key>value</key>
</properties>
<connectedAppClientId>CONN_APP_CLIENT_ID</connectedAppClientId>
<connectedAppClientSecret>CONN_APP_CLIENT_SECRET</connectedAppClientSecret>
<connectedAppGrantType>client_credentials</connectedAppGrantType>
<objectStoreV2>true</objectStoreV2>
</cloudHubDeployment>
</configuration>
</plugin>
...
</plugins>
...
mvn clean package deploy -DmuleDeploy
001115971

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.