Skip to content

Commit

Permalink
Release google-http-java-client v1.27.0 (#527)
Browse files Browse the repository at this point in the history
* Release v1.27.0

* Fix `@since` javadoc for new write timeout features

* Fix VERSION constant

* Fix version annotations in google-http-client-android-test artifact

* Fix line length

* Cleanup output and fix plugin versions

* Change order of deployed assets

* Add nexus-staging-maven-plugin and release profile to bom

* Put the pom last again

* bom needs a developers section
  • Loading branch information
chingor13 committed Nov 12, 2018
1 parent 7b95ce8 commit 67d8c5d
Show file tree
Hide file tree
Showing 22 changed files with 131 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .kokoro/release/stage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pushd $(dirname "$0")/../../
setup_environment_secrets
create_settings_xml_file "settings.xml"

mvn clean install deploy \
mvn clean install deploy -B \
--settings settings.xml \
-DperformRelease=true \
-Dgpg.executable=gpg \
Expand Down
6 changes: 3 additions & 3 deletions google-http-client-android-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>google-http-client</groupId>
<artifactId>google-http-client-android-test</artifactId>
<name>Test project for google-http-client-android.</name>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-android-test:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-android-test:current} -->
<packaging>apk</packaging>

<build>
Expand Down Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-android</artifactId>
<version>1.26.0-1.26.0</version>
<version>1.27.0</version><!-- {x-version-update:google-http-client-android:current} -->
<exclusions>
<exclusion>
<artifactId>android</artifactId>
Expand All @@ -72,7 +72,7 @@
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-test</artifactId>
<version>1.26.0</version>
<version>1.27.0</version><!-- {x-version-update:google-http-client-test:current} -->
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-android</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-android:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-android:current} -->
<name>Android Platform Extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-appengine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-appengine</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-appengine:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-appengine:current} -->
<name>Google App Engine extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-assembly</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-assembly:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-assembly:current} -->
<packaging>pom</packaging>
<name>Assembly for the Google HTTP Client Library for Java</name>

Expand Down
2 changes: 1 addition & 1 deletion google-http-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.http-client</groupId>
<artifactId>google-http-client-bom</artifactId>
<version>1.26.0</version>
<version>1.27.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
89 changes: 76 additions & 13 deletions google-http-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.http-client</groupId>
<artifactId>google-http-client-bom</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-bom:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-bom:current} -->
<packaging>pom</packaging>

<name>Google HTTP Client Library for Java BOM</name>
Expand All @@ -16,6 +16,18 @@
<name>Google LLC</name>
</organization>

<developers>
<developer>
<id>chingor13</id>
<name>Jeff Ching</name>
<email>chingor@google.com</email>
<organization>Google LLC</organization>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>

<scm>
<connection>scm:git:https://github.com/googleapis/google-http-java-client.git</connection>
<developerConnection>scm:git:git@github.com:googleapis/google-http-java-client.git</developerConnection>
Expand Down Expand Up @@ -51,63 +63,114 @@
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-android</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-android:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-android:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-appengine</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-appengine:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-appengine:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-assembly</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-assembly:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-assembly:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-findbugs</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-findbugs:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-findbugs:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-gson</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-gson:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-gson:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jackson</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jackson2</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson2:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson2:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-jdo</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jdo:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-jdo:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-protobuf</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-protobuf:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-protobuf:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-test</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-test:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-test:current} -->
</dependency>
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-xml</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-xml:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-xml:current} -->
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.6</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<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>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
4 changes: 2 additions & 2 deletions google-http-client-findbugs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-findbugs</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-findbugs:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-findbugs:current} -->
<name>Google APIs Client Library Findbugs custom plugin.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-gson</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-gson:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-gson:current} -->
<name>GSON extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-jackson</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson:current} -->
<name>Jackson extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-jackson2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-jackson2</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson2:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson2:current} -->
<name>Jackson 2 extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-jdo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-jdo</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jdo:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-jdo:current} -->
<name>JDO extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-protobuf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-protobuf</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-protobuf:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-protobuf:current} -->
<name>Protocol Buffer extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-test</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-test:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-test:current} -->
<name>Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client-xml</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-xml:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-xml:current} -->
<name>XML extensions to the Google HTTP Client Library for Java.</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions google-http-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-parent</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-http-client</artifactId>
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client:current} -->
<version>1.27.0</version><!-- {x-version-update:google-http-client:current} -->
<name>Google HTTP Client Library for Java</name>
<description>
Google HTTP Client Library for Java. Functionality that works on all supported Java platforms,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public final class HttpRequest {
*
* @since 1.8
*/
public static final String VERSION = "1.26.0";
public static final String VERSION = "1.27.0";

/**
* User agent suffix for all requests.
Expand Down Expand Up @@ -505,7 +505,7 @@ public HttpRequest setReadTimeout(int readTimeout) {
* By default it is 0 (infinite).
* </p>
*
* @since 1.26
* @since 1.27
*/
public int getWriteTimeout() {
return writeTimeout;
Expand All @@ -514,7 +514,7 @@ public int getWriteTimeout() {
/**
* Sets the timeout in milliseconds to send POST/PUT data or {@code 0} for an infinite timeout.
*
* @since 1.26
* @since 1.27
*/
public HttpRequest setWriteTimeout(int writeTimeout) {
Preconditions.checkArgument(writeTimeout >= 0);
Expand Down

0 comments on commit 67d8c5d

Please sign in to comment.