From cb28cf581135b3d237550cd4afcd5ba2362d5d67 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 3 Oct 2026 22:16:08 +0200 Subject: [PATCH] Explain why the EAR project loads the acr extension --- src/site/markdown/examples/using-app-client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/markdown/examples/using-app-client.md b/src/site/markdown/examples/using-app-client.md index 0332e3a7..de9bec05 100644 --- a/src/site/markdown/examples/using-app-client.md +++ b/src/site/markdown/examples/using-app-client.md @@ -24,7 +24,7 @@ limitations under the License. # Using JavaEE application clients -JavaEE application clients are handled by the maven-acr-plugin with the 'app-client' packaging type. Since this packaging is new to Maven, you have to enable the extensions of the acr plugin for Maven to discover it. This sample below describes what needs to be added to your project for a 'app-client-sample' application client. By default the ear plugin adds any application client to the generated application.xml just like it does for other JavaEE packaging types. +JavaEE application clients are built by the [maven-acr-plugin](https://maven.apache.org/plugins/maven-acr-plugin/), which adds the 'app-client' packaging and the 'app-client' dependency type. Maven core defines neither, so every project that uses one has to load the acr plugin as an extension: the application client module for its packaging, and the EAR project for the dependency type. The sample below shows what the EAR project needs for an 'app-client-sample' application client. By default the ear plugin adds any application client to the generated application.xml just like it does for other JavaEE packaging types. ```xml @@ -40,7 +40,7 @@ JavaEE application clients are handled by the maven-acr-plugin with the 'app-cli org.apache.maven.plugins maven-acr-plugin - 1.0 + 3.2.0 true