Ian Maxon has uploaded a new change for review.

  https://asterix-gerrit.ics.uci.edu/1493

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

Add necesasary plugins for simple release method

Change-Id: I8768ff760235f2f7f0c33d5af633bcdefa0b51e5
---
M asterixdb/pom.xml
M hyracks-fullstack/pom.xml
2 files changed, 51 insertions(+), 21 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/93/1493/1

diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index c684539..f0ffd30 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -406,6 +406,18 @@
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
+        <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>versions-maven-plugin</artifactId>
+            <version>2.1</version>
+        </plugin>
+        <plugin>
+            <artifactId>maven-scm-plugin</artifactId>
+            <version>1.8.1</version>
+            <configuration>
+                <tag>${project.artifactId}-${project.version}</tag>
+            </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -521,6 +533,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..b8109dc 100644
--- a/hyracks-fullstack/pom.xml
+++ b/hyracks-fullstack/pom.xml
@@ -395,6 +395,18 @@
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
+        <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>versions-maven-plugin</artifactId>
+            <version>2.1</version>
+        </plugin>
+        <plugin>
+            <artifactId>maven-scm-plugin</artifactId>
+            <version>1.8.1</version>
+            <configuration>
+                <tag>${project.artifactId}-${project.version}</tag>
+            </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -407,35 +419,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: newchange
Gerrit-Change-Id: I8768ff760235f2f7f0c33d5af633bcdefa0b51e5
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Ian Maxon <[email protected]>

Reply via email to