Restore make-uberjar execution of assembly plugin.
This commit is contained in:
parent
ffcf516c30
commit
bdf23e25be
101
pom.xml
101
pom.xml
|
@ -676,6 +676,107 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.tools</groupId>
|
||||
<artifactId>shared-assemblies</artifactId>
|
||||
<version>1.1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<executions>
|
||||
<!-- uberjar creation -->
|
||||
<execution>
|
||||
<id>make-uberjar</id>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>gcube-uberjar</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>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<!-- default servicearchive creation-->
|
||||
<execution>
|
||||
<id>make-servicearchive</id>
|
||||
<configuration>
|
||||
<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>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<!-- source package creation -->
|
||||
<execution>
|
||||
<id>make-source-package</id>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>gcube-source-package</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>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
|
Loading…
Reference in New Issue