Skip to content

Commit

Permalink
Release google-oauth-java-client v1.28.0 (#244)
Browse files Browse the repository at this point in the history
* Release v1.28.0

* Update maven-surefire-plugin

* Fix Kokoro release/drop configurations
  • Loading branch information
chingor13 committed Jan 15, 2019
1 parent 0894ded commit 502701c
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 23 deletions.
11 changes: 9 additions & 2 deletions .kokoro/release/drop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@

set -eo pipefail

source $(dirname "$0")/common.sh
# STAGING_REPOSITORY_ID must be set
if [ -z "${STAGING_REPOSITORY_ID}" ]; then
echo "Missing STAGING_REPOSITORY_ID environment variable"
exit 1
fi

source $(dirname "$0")/common.sh
pushd $(dirname "$0")/../../

setup_environment_secrets
create_settings_xml_file "settings.xml"

mvn nexus-staging:drop --settings=settings.xml
mvn nexus-staging:drop -B \
--settings=settings.xml \
-DstagingRepositoryId=${STAGING_REPOSITORY_ID}
11 changes: 10 additions & 1 deletion .kokoro/release/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,20 @@

set -eo pipefail

# STAGING_REPOSITORY_ID must be set
if [ -z "${STAGING_REPOSITORY_ID}" ]; then
echo "Missing STAGING_REPOSITORY_ID environment variable"
exit 1
fi

source $(dirname "$0")/common.sh

pushd $(dirname "$0")/../../

setup_environment_secrets
create_settings_xml_file "settings.xml"

mvn nexus-staging:release -DperformRelease=true --settings=settings.xml
mvn nexus-staging:release -B \
-DperformRelease=true \
--settings=settings.xml \
-DstagingRepositoryId=${STAGING_REPOSITORY_ID}
2 changes: 1 addition & 1 deletion google-oauth-client-appengine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-appengine</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion google-oauth-client-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.google.oauth-client</groupId>
Expand Down
2 changes: 1 addition & 1 deletion google-oauth-client-bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To use it in Maven, add the following to your `pom.xml`:
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-bom</artifactId>
<version>1.27.0</version>
<version>1.28.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
14 changes: 7 additions & 7 deletions google-oauth-client-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-bom</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<packaging>pom</packaging>

<name>Google OAuth Client Library for Java BOM</name>
Expand Down Expand Up @@ -63,32 +63,32 @@
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-appengine</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-assembly</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-java6</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-jetty</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-servlet</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion google-oauth-client-java6/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-java6</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion google-oauth-client-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-jetty</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion google-oauth-client-servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-servlet</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion google-oauth-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<packaging>pom</packaging>
<name>Parent for the Google OAuth Client Library for Java</name>

Expand Down Expand Up @@ -264,7 +264,7 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<version>3.0.0-M3</version>
<configuration>
<argLine>-Xmx1024m</argLine>
<reportNameSuffix>sponge_log</reportNameSuffix>
Expand Down Expand Up @@ -426,7 +426,7 @@
-->
<project.appengine.version>1.9.64</project.appengine.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.http.version>1.27.0</project.http.version><!-- {x-version-update:google-http-client:released} -->
<project.http.version>1.28.0</project.http.version><!-- {x-version-update:google-http-client:released} -->
<project.jsr305.version>3.0.2</project.jsr305.version>
<project.gson.version>2.1</project.gson.version>
<project.jackson-core-asl.version>1.9.13</project.jackson-core-asl.version>
Expand Down
2 changes: 1 addition & 1 deletion samples/dailymotion-cmdline-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.27.1-SNAPSHOT</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.28.0</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>dailymotion-simple-cmdline-sample</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions versions.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Format:
# module:released-version:current-version

google-oauth-client:1.27.0:1.27.1-SNAPSHOT
google-http-client:1.27.0:1.27.1-SNAPSHOT
google-oauth-client:1.28.0:1.28.0
google-http-client:1.28.0:1.28.0

0 comments on commit 502701c

Please sign in to comment.