parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexleven...@apache.org
Subject parquet-mr git commit: PARQUET-263: Release changes from parquet-1.7.0 branch
Date Wed, 17 Jun 2015 23:11:09 GMT
Repository: parquet-mr
Updated Branches:
  refs/heads/master 4590f14e9 -> faf542134


PARQUET-263: Release changes from parquet-1.7.0 branch

These are the additional changes needed to build the 1.7.0 RC. No functional changes to the
library, just configuration in the POM, release scripts, and the addition to the changelog.

Author: Ryan Blue <blue@apache.org>

Closes #196 from rdblue/PARQUET-263-release-changes-from-1.7.0 and squashes the following
commits:

c02f565 [Ryan Blue] PARQUET-263: Update release scripts for TLP, add maven.
c0554ff [Ryan Blue] PARQUET-263: Update pom to use Apache maven release config.
dc4945b [Ryan Blue] PARQUET-263: Update changelog.


Project: http://git-wip-us.apache.org/repos/asf/parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-mr/commit/faf54213
Tree: http://git-wip-us.apache.org/repos/asf/parquet-mr/tree/faf54213
Diff: http://git-wip-us.apache.org/repos/asf/parquet-mr/diff/faf54213

Branch: refs/heads/master
Commit: faf542134df2bec8f0334c819d44464f1aab6696
Parents: 4590f14
Author: Ryan Blue <blue@apache.org>
Authored: Wed Jun 17 16:11:03 2015 -0700
Committer: Alex Levenson <alexlevenson@twitter.com>
Committed: Wed Jun 17 16:11:03 2015 -0700

----------------------------------------------------------------------
 CHANGES.md             |  4 ++
 dev/prepare-release.sh | 33 ++++++++++++++++
 dev/source-release.sh  |  2 +-
 pom.xml                | 95 ++++++---------------------------------------
 4 files changed, 49 insertions(+), 85 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/faf54213/CHANGES.md
----------------------------------------------------------------------
diff --git a/CHANGES.md b/CHANGES.md
index 64a19fc..2b48708 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -19,6 +19,10 @@
 
 # Parquet #
 
+### Version 1.7.0 ###
+
+*   [PARQUET-23](https://issues.apache.org/jira/browse/PARQUET-23) - Rename to org.apache.
+
 ### Version 1.6.0 ###
 
 ####  Bug

http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/faf54213/dev/prepare-release.sh
----------------------------------------------------------------------
diff --git a/dev/prepare-release.sh b/dev/prepare-release.sh
new file mode 100644
index 0000000..e77b784
--- /dev/null
+++ b/dev/prepare-release.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+if [ -z "$1" ]; then
+  echo "Usage: $0 <version>"
+  exit
+fi
+
+version=$1
+
+tag=apache-parquet-$version
+
+mvn release:clean
+mvn release:prepare -Dtag=$tag -DreleaseVersion=$version
+
+echo "Finish staging binary artifacts by running: sh dev/perform-release.sh"

http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/faf54213/dev/source-release.sh
----------------------------------------------------------------------
diff --git a/dev/source-release.sh b/dev/source-release.sh
index 5a19d8a..e6c1667 100644
--- a/dev/source-release.sh
+++ b/dev/source-release.sh
@@ -68,7 +68,7 @@ svn co --depth=empty https://dist.apache.org/repos/dist/dev/parquet tmp
 mkdir -p tmp/$tagrc
 cp ${tarball}* tmp/$tagrc
 svn add tmp/$tagrc
-echo "svn ci -m 'Apache Parquet MR $version RC${rc}' tmp/$tagrc"
+svn ci -m 'Apache Parquet MR $version RC${rc}' tmp/$tagrc
 
 # clean up
 rm -rf tmp

http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/faf54213/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d27456c..c424071 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>14</version>
+    <version>16</version>
   </parent>
 
   <groupId>org.apache.parquet</groupId>
@@ -56,32 +56,6 @@
     </developer>
   </developers>
 
-  <distributionManagement>
-    <snapshotRepository>
-      <id>sonatype-nexus-snapshots</id>
-      <name>Sonatype OSS</name>
-      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
-    </snapshotRepository>
-    <repository>
-      <id>sonatype-nexus-staging</id>
-      <name>Nexus Release Repository</name>
-      <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
-    </repository>
-  </distributionManagement>
-
-  <repositories>
-    <repository>
-      <id>sonatype-nexus-snapshots</id>
-      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-     </repository>
-  </repositories>
-
   <!-- this is needed for maven-thrift-plugin, would like to remove this.
    see: https://issues.apache.org/jira/browse/THRIFT-1536  -->
   <pluginRepositories>
@@ -212,6 +186,16 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <!-- Disable the source artifact from ASF parent -->
+          <artifactId>maven-assembly-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>source-release-assembly</id>
+              <phase>none</phase>
+            </execution>
+          </executions>
+        </plugin>
+        <plugin>
           <artifactId>maven-enforcer-plugin</artifactId>
           <version>1.3.1</version>
           <dependencies>
@@ -250,16 +234,6 @@
          </executions>
         </plugin>
         <plugin>
-         <groupId>org.apache.maven.plugins</groupId>
-         <artifactId>maven-release-plugin</artifactId>
-         <version>2.1</version>
-         <configuration>
-          <mavenExecutorId>forked-path</mavenExecutorId>
-          <useReleaseProfile>false</useReleaseProfile>
-          <arguments>-Psonatype-oss-release</arguments>
-         </configuration>
-        </plugin>
-        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-shade-plugin</artifactId>
           <version>2.1</version>
@@ -479,53 +453,6 @@
         </plugins>
       </build>
     </profile>
-    <profile>
-      <id>sonatype-oss-release</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <version>2.1.2</version>
-            <executions>
-              <execution>
-                <id>attach-sources</id>
-                <goals>
-                  <goal>jar-no-fork</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <version>2.7</version>
-            <executions>
-              <execution>
-                <id>attach-javadocs</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-gpg-plugin</artifactId>
-            <version>1.1</version>
-            <executions>
-              <execution>
-                <id>sign-artifacts</id>
-                <phase>verify</phase>
-                <goals>
-                  <goal>sign</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
 
     <profile>
       <id>hadoop-2</id>


Mime
View raw message