When building AppBundles, the bundle should be created and tested as a distribution before being deployed to Maven as an AppBundle.

To create a distribution, see Use the Maven Distribution Archetype. Once your distribution is working, follow the instructions below to build and deploy it.

On this page:


Build the AppBundle


In order to build your AppBundle and install it in your local Maven repository, use the following command:

 mvn clean install -P build-appBundle

Once installed in your local repository, the AppBundle can be tested locally.

Deploy the AppBundle


In order to deploy your AppBundle to the public Maven repository, use the following command:

  mvn clean deploy -P build-appBundle

Once installed in your public repository, the AppBundle will be available to Aspire applications.

  • No labels