Repository: asterixdb
Updated Branches:
  refs/heads/master c229da657 -> 99fed93d0


Add necesasary plugins for simple release method

Change-Id: I8768ff760235f2f7f0c33d5af633bcdefa0b51e5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1493
Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mb...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/99fed93d
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/99fed93d
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/99fed93d

Branch: refs/heads/master
Commit: 99fed93d0c64fe68c3e0fbd9555b1917696ee991
Parents: c229da6
Author: Ian Maxon <ima...@apache.org>
Authored: Thu Feb 9 19:11:39 2017 -0800
Committer: Ian Maxon <ima...@apache.org>
Committed: Fri Feb 10 11:24:00 2017 -0800

----------------------------------------------------------------------
 asterixdb/pom.xml         | 31 +++++++++++++++++++++++++++++++
 hyracks-fullstack/pom.xml | 37 ++++++++++++++++---------------------
 2 files changed, 47 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/99fed93d/asterixdb/pom.xml
----------------------------------------------------------------------
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>

http://git-wip-us.apache.org/repos/asf/asterixdb/blob/99fed93d/hyracks-fullstack/pom.xml
----------------------------------------------------------------------
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>

Reply via email to