asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Maxon (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: Add necesasary plugins for simple release method
Date Fri, 10 Feb 2017 19:24:23 GMT
Ian Maxon has submitted this change and it was merged.

Change subject: Add necesasary plugins for simple release method
......................................................................


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>
---
M asterixdb/pom.xml
M hyracks-fullstack/pom.xml
2 files changed, 47 insertions(+), 21 deletions(-)

Approvals:
  Michael Blow: Looks good to me, approved
  Jenkins: Verified; No violations found; No violations found; Verified



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>

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1493
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8768ff760235f2f7f0c33d5af633bcdefa0b51e5
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Ian Maxon <imaxon@apache.org>
Gerrit-Reviewer: Ian Maxon <imaxon@apache.org>
Gerrit-Reviewer: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Michael Blow <mblow@apache.org>

Mime
View raw message