Browse Source

Add pom snippet for the service archive.

pull/1/head
Manuele Simi 3 years ago
parent
commit
6ea1d8ceed
  1. 7
      README.md
  2. 18
      gCubeComponents/snippets/service_archive.xml

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

18
gCubeComponents/snippets/service_archive.xml

@ -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