Add pom snippet for the service archive.

pull/1/head
Manuele Simi 5 years ago
parent d92a040b74
commit 6ea1d8ceed

@ -14,4 +14,9 @@ List of available templates:
* [descriptor.xml](gCubeComponents/descriptor.xml) * [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. * 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. 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.

@ -0,0 +1,18 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>descriptor.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>servicearchive</id>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
Loading…
Cancel
Save