fixed double configuration for assembly plugin

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@158016 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
gabriele.giammatteo 2017-10-30 14:25:36 +00:00
parent 89e5e44a74
commit 012678e966
1 changed files with 17 additions and 7 deletions

24
pom.xml
View File

@ -165,6 +165,22 @@
<descriptorRefs>
<descriptorRef>gcube-default-servicearchive</descriptorRef>
</descriptorRefs>
<!--
override the plugin-scope configuration that some components have in their pom:
<descriptors>
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
</descriptors>
If not done, the servicearchive will be built also during this execution.
-->
<descriptors combine.self="override"></descriptors>
<!--
make sure the "-src" is appended to the filename. It is the default
behaviour but it has been set explicitly because some components
(e.g. ghn-distribution) set it to false in their pom
-->
<appendAssemblyId>true</appendAssemblyId>
</configuration>
<goals>
@ -202,15 +218,9 @@
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>