unified-version-plugins #3

Merged
manuele.simi merged 5 commits from unified-version-plugins into master 2020-07-13 20:26:19 +02:00
1 changed files with 25 additions and 135 deletions

156
pom.xml
View File

@ -170,7 +170,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<!-- sets the skip.when.is.release.used property to true if SNAPSHOT is NOT used, <!-- sets the skip.when.is.release.used property to true if SNAPSHOT is NOT used,
@ -244,7 +243,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<!-- sets the skip.when.is.release.used property to true if SNAPSHOT is NOT used, <!-- sets the skip.when.is.release.used property to true if SNAPSHOT is NOT used,
@ -342,7 +340,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<!-- sets the skip.when.is.snapshot.used property to true if SNAPSHOT was used, <!-- sets the skip.when.is.snapshot.used property to true if SNAPSHOT was used,
@ -480,7 +477,6 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<!-- sets the skip.when.is.snapshot.used property to true if SNAPSHOT was used, <!-- sets the skip.when.is.snapshot.used property to true if SNAPSHOT was used,
@ -653,7 +649,6 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<version>1.0.1</version>
<executions> <executions>
<execution> <execution>
<id>enforce</id> <id>enforce</id>
@ -681,107 +676,6 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@ -804,7 +698,6 @@
<pluginExecutionFilter> <pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<versionRange>1.0.1</versionRange>
<goals> <goals>
<goal>enforce</goal> <goal>enforce</goal>
</goals> </goals>
@ -879,17 +772,39 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId> <artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
</plugin> </plugin>
<!-- enforce integration build requirements --> <!-- enforce integration build requirements -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId> <artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-files-exist</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireFilesExist>
<files>
<file>${project.basedir}/README.md</file>
<file>${project.basedir}/LICENSE.md</file>
<file>${project.basedir}/CHANGELOG.md</file>
</files>
</requireFilesExist>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId> <artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin> </plugin>
<plugin> <plugin>
@ -925,31 +840,6 @@
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-files-exist</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireFilesExist>
<files>
<file>${project.basedir}/README.md</file>
<file>${project.basedir}/LICENSE.md</file>
<file>${project.basedir}/CHANGELOG.md</file>
</files>
</requireFilesExist>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.gmaven</groupId> <groupId>org.codehaus.gmaven</groupId>