# Maven deployment to Mule runtimes

*MuleSoft Developer II Study Guide · Implement maintainable and modular Mule applications and their Maven builds · Last updated November 7, 2026 · https://www.certifyforce.com/study-guide/mulesoft-developer-ii/implement-maintainable-and-modular-mule-applications-and-their-maven-builds/maven-deployment-to-mule-runtimes*

Select the deployment goal, target strategy and authentication method for a Mule release. Preserve artifact identity and distinguish rollout capacity, credentials and application properties.

- Certification: Salesforce MuleSoft Developer II
- Exam section: Implement maintainable and modular Mule applications and their Maven builds
- Study guide: https://www.certifyforce.com/study-guide/mulesoft-developer-ii

**Official exam objective:**

> Implement Maven-based automated deployment to Mule runtimes.

## What the exam expects

- Distinguish publishing a Maven artifact from delivering it to a runtime.
- Deploy an existing tested artifact without rebuilding it.
- Select configuration for CloudHub, Runtime Fabric or customer-hosted Mule.
- Configure programmatic authentication and encrypted credential storage.
- Predict property replacement, snapshot refresh and rollout capacity requirements.

**Deployment strategy** identifies the delivery mechanism; **target** identifies its destination; **artifact** is the packaged application; **connected app** authenticates a programmatic platform client; **replica** is a deployed application instance; **rolling update** replaces replicas incrementally ([Plugin goals](https://docs.mulesoft.com/mule-runtime/4.6/mmp-concept), [Deployment parameters](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub-2)).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Runtime delivery | `muleDeploy` selects the configured deployment strategy. | [Plugin](https://docs.mulesoft.com/mule-runtime/4.6/mmp-concept) |
| Existing artifact | `mule:deploy` does not rebuild it. | [Commands](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub-2) |
| CloudHub 2.0 provider | Configure `MC`; worker-based fields belong to another strategy. | [Parameters](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub-2) |
| Connected app grant | Use `client_credentials` and the documented access scope. | [Authentication](https://docs.mulesoft.com/runtime-fabric/latest/deploy-maven-4.x) |
| Domain targets | Standalone and agent deployment support domains. | [On premises](https://docs.mulesoft.com/mule-runtime/4.6/deploy-on-premises) |
| Local runtime | Its actual version must match the configured version. | [Standalone](https://docs.mulesoft.com/mule-runtime/4.6/deploy-on-premises) |
| CloudHub 2.0 supplied properties | Send the complete intended ordinary and secure sets; omission preservation has a separate versioned fix. | [Properties](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub-2), [Fix scope](https://docs.mulesoft.com/release-notes/mule-maven-plugin/mule-maven-plugin-4.2.0-release-notes) |
| Development refresh | Redeploy after updating a snapshot's binaries. | [Snapshots](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub-2) |

## Check yourself

- Why must a deployment-timeout runbook state its measurement unit?
- When a deployment uses a Maven `server` reference, what does that name identify?
- What happens if explicit username/password values accompany a server reference?

## Sources

- [Mule Maven Plugin for Mule 4.6](https://docs.mulesoft.com/mule-runtime/4.6/mmp-concept)
- [CloudHub 2.0 Maven Deployment for Mule 4.6](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub-2)
- [CloudHub Maven Deployment for Mule 4.6](https://docs.mulesoft.com/mule-runtime/4.6/deploy-to-cloudhub)
- [On-Premises Maven Deployment for Mule 4.6](https://docs.mulesoft.com/mule-runtime/4.6/deploy-on-premises)
- [Runtime Fabric Maven Deployment](https://docs.mulesoft.com/runtime-fabric/latest/deploy-maven-4.x)
- [Publishing Assets Using Maven](https://docs.mulesoft.com/exchange/to-publish-assets-maven)
- [Mule Maven Plugin 4.1.1 Release Notes](https://docs.mulesoft.com/release-notes/mule-maven-plugin/mule-maven-plugin-4.1.1-release-notes)
- [Official Mule Maven Plugin 4.1.1 CloudHub 2 request builder](https://raw.githubusercontent.com/mulesoft/mule-maven-plugin/9fb64c5eb0ded0874b076aa5341ae2db90fcbd42/mule-deployer/src/main/java/org/mule/tools/deployment/cloudhub2/RequestBuilderCh2.java)
- [Mule Maven Plugin 4.2.0 Release Notes](https://docs.mulesoft.com/release-notes/mule-maven-plugin/mule-maven-plugin-4.2.0-release-notes)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 12 linked practice questions, and unlimited timed mock exams are included with the MuleSoft Developer II pack (USD $19): https://www.certifyforce.com/practice-exams
