You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by dr...@apache.org on 2015/09/21 23:28:07 UTC

gora git commit: GORA-441 Update build.gradle within gora-gradle-plugin to reference canonical Apache links (lewismc via drazzib). This commit closes apache/gora#44

Repository: gora
Updated Branches:
  refs/heads/master 7c15a4f03 -> 93cbd8cc3


GORA-441 Update build.gradle within gora-gradle-plugin to reference canonical Apache links
(lewismc via drazzib). This commit closes apache/gora#44

Squashed commit of the following:

commit d683c17cfe1c058b69d5b46a31ba8b86b0481f77
Author: Lewis John McGibbney <le...@jpl.nasa.gov>
Date:   Tue Sep 15 16:58:57 2015 -0700

    GORA-441 Update build.gradle within gora-gradle-plugin to reference canonical Apache links


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/93cbd8cc
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/93cbd8cc
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/93cbd8cc

Branch: refs/heads/master
Commit: 93cbd8cc31e40c0163f8c9daf3ccc237a2b59a13
Parents: 7c15a4f
Author: Damien Raude-Morvan <dr...@drazzib.com>
Authored: Mon Sep 21 23:23:21 2015 +0200
Committer: Damien Raude-Morvan <dr...@drazzib.com>
Committed: Mon Sep 21 23:25:21 2015 +0200

----------------------------------------------------------------------
 CHANGES.txt                     |  2 ++
 gora-gradle-plugin/README.md    | 23 +++++++++++++++++++++--
 gora-gradle-plugin/build.gradle | 10 +++++-----
 3 files changed, 28 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/93cbd8cc/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 6469474..98367fe 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,8 @@
 
 Current Development
 
+* GORA-441 Update build.gradle within gora-gradle-plugin to reference canonical Apache links (lewismc)
+
 * GORA-438 Erroneous Exception Message at IOUtils.java (Furkan KAMACI via lewismc)
 
 Apache Gora 0.6.1 Release - 05/09/2015 (dd/mm/yyyy)

http://git-wip-us.apache.org/repos/asf/gora/blob/93cbd8cc/gora-gradle-plugin/README.md
----------------------------------------------------------------------
diff --git a/gora-gradle-plugin/README.md b/gora-gradle-plugin/README.md
index fdf14d3..4a48d49 100644
--- a/gora-gradle-plugin/README.md
+++ b/gora-gradle-plugin/README.md
@@ -15,14 +15,14 @@ buildscript {
     jcenter()
   }
   dependencies {
-    classpath "org.apache.gora.gradle:gora-gradle-plugin:0.6"
+    classpath "org.apache.gora.gradle:gora-gradle-plugin:0.6.1"
   }
 }
 
 apply plugin: "org.apache.gora"
 
 dependencies {
-    compile "org.apache.gora:gora-core:0.4"
+    compile "org.apache.gora:gora-core:0.6.1"
 }
 ```
 
@@ -44,3 +44,22 @@ If you want to build this plugin from a Git checkout, please use Gradle Wrapper
 ./gradlew clean build publishToMavenLocal
 ```
 
+## Publishing to Bintray
+
+As per the [Gora Release HOWTO](https://cwiki.apache.org/confluence/display/GORA/Apache+Gora+Release+Procedure+HOW_TO) we release the gora-gradle-plugin post release of the Gora release artifacts including the Maven artifacts.
+
+In order to publish the plugin you must first register with [bintray](https://bintray.com/) and add your username and API key to your local System properties e.g. ~/.bashrc
+```
+export BINTRAY_USER=abc
+export BINTRAY_KEY=xyz
+```
+Then run the following :
+
+cd $GORA_HOME/gora-gradle-plugin; ./gradlew clean bintrayUpload
+
+This does the following
+
+ * Relaunch compile / assemble tasks
+ * Deploy artifacts to your local Maven Repository (~/.m2/repository/)
+ * Uploads those artifacts to Bintray (for publication on Maven Central repository)
+

http://git-wip-us.apache.org/repos/asf/gora/blob/93cbd8cc/gora-gradle-plugin/build.gradle
----------------------------------------------------------------------
diff --git a/gora-gradle-plugin/build.gradle b/gora-gradle-plugin/build.gradle
index 295ff5a..187ac01 100644
--- a/gora-gradle-plugin/build.gradle
+++ b/gora-gradle-plugin/build.gradle
@@ -68,8 +68,8 @@ publishing {
 }
 
 bintray {
-    user = project.hasProperty('bintrayUser') ? project.getProperty('bintrayUser') : null
-    key = project.hasProperty('bintrayKey') ? project.getProperty('bintrayKey') : null
+    user = System.getenv('BINTRAY_USER')
+    key = System.getenv('BINTRAY_KEY')
 
     publications = ['mavenJava']
     publish = true
@@ -79,9 +79,9 @@ bintray {
         name = 'gradle-gora-plugin'
         licenses = ['Apache-2.0']
         desc = 'Gradle plugin for generating Gora beans for Avro schemas'
-        websiteUrl = 'https://github.com/Dictanova/gora-gradle-plugin'
-        issueTrackerUrl = 'https://github.com/Dictanova/gora-gradle-plugin/issues'
-        vcsUrl = 'https://github.com/Dictanova/gora-gradle-plugin.git'
+        websiteUrl = 'http://gora.apache.org'
+        issueTrackerUrl = 'https://issues.apache.org/jira/browse/GORA'
+        vcsUrl = 'http://git.apache.org/gora.git'
         labels = ['gradle', 'gora', 'avro']
         publicDownloadNumbers = true
         attributes = ['gradle-plugin': 'org.apache.gora:org.apache.gora.gradle:gora-gradle-plugin']