From 6ea1d8ceed788021d6ec26bac6bbf68de3e129e6 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Sat, 13 Jul 2019 14:47:45 -0400 Subject: [PATCH] Add pom snippet for the service archive. --- README.md | 7 ++++++- gCubeComponents/snippets/service_archive.xml | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 gCubeComponents/snippets/service_archive.xml diff --git a/README.md b/README.md index a669e4b..8f357c9 100644 --- a/README.md +++ b/README.md @@ -14,4 +14,9 @@ List of available templates: * [descriptor.xml](gCubeComponents/descriptor.xml) * It supports the creation of an archive with the binary artifacts generated by the content of the repository. Customizable if needed. -All of them must be placed in the root directory of the Git repository. \ No newline at end of file +All of them must be placed in the root directory of the Git repository. + +We also provide few snippets useful for common tasks during the Maven build: + +* [service_archive.xml](gCubeComponents/snippets/service_archive.xml) + * Execute the maven-assembly-plugin to create the service archive for the component. \ No newline at end of file diff --git a/gCubeComponents/snippets/service_archive.xml b/gCubeComponents/snippets/service_archive.xml new file mode 100644 index 0000000..9a03a43 --- /dev/null +++ b/gCubeComponents/snippets/service_archive.xml @@ -0,0 +1,18 @@ + + org.apache.maven.plugins + maven-assembly-plugin + + + descriptor.xml + + + + + servicearchive + install + + single + + + + \ No newline at end of file