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 Using The Maven Distribution Archetype (Aspire 2). Once your distribution is working, follow the instructions below to build and deploy it.

Building 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.

Deploying 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