Add necesasary plugins for simple release method
Change-Id: I8768ff760235f2f7f0c33d5af633bcdefa0b51e5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1493
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index c684539..57488bc 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -406,6 +406,16 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>1.9.5</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -521,6 +531,27 @@
</build>
</profile>
<profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>java8</id>
<activation>
<jdk>1.8</jdk>
diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml
index 2c078c4..5ddbf92 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -395,6 +395,16 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <version>1.9.5</version>
+ </plugin>
</plugins>
</pluginManagement>
</build>
@@ -407,35 +417,20 @@
</properties>
</profile>
<profile>
- <id>asterix-release</id>
- <activation>
- <file>
- <exists>src/main/assembly/source.xml</exists>
- </file>
- </activation>
+ <id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <!-- We override the configuration plugin to override the descriptor to use for building
- the source release zip. Specifically, we would like to control the inclusions/exclusions.
- For example, we exclude the KEYS file from the zip -->
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
<executions>
<execution>
- <!-- Use this id to match the id mentioned in the assembly plugin configuration in
- the apache parent POM under the apache-release profile -->
- <id>source-release-assembly</id>
- <phase>package</phase>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
<goals>
- <goal>single</goal>
+ <goal>sign</goal>
</goals>
- <!-- combine.self should be override to replace the configuration in the parent POM -->
- <configuration combine.self="override">
- <descriptors>
- <descriptor>src/main/assembly/source.xml</descriptor>
- </descriptors>
- </configuration>
</execution>
</executions>
</plugin>