Skip to content

Commit 67d8c5d

Browse files
authored
Release google-http-java-client v1.27.0 (#527)
* 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
1 parent 7b95ce8 commit 67d8c5d

File tree

22 files changed

+131
-64
lines changed

22 files changed

+131
-64
lines changed

.kokoro/release/stage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pushd $(dirname "$0")/../../
2222
setup_environment_secrets
2323
create_settings_xml_file "settings.xml"
2424

25-
mvn clean install deploy \
25+
mvn clean install deploy -B \
2626
--settings settings.xml \
2727
-DperformRelease=true \
2828
-Dgpg.executable=gpg \

google-http-client-android-test/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>google-http-client</groupId>
55
<artifactId>google-http-client-android-test</artifactId>
66
<name>Test project for google-http-client-android.</name>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-android-test:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-android-test:current} -->
88
<packaging>apk</packaging>
99

1010
<build>
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>com.google.http-client</groupId>
5555
<artifactId>google-http-client-android</artifactId>
56-
<version>1.26.0-1.26.0</version>
56+
<version>1.27.0</version><!-- {x-version-update:google-http-client-android:current} -->
5757
<exclusions>
5858
<exclusion>
5959
<artifactId>android</artifactId>
@@ -72,7 +72,7 @@
7272
<dependency>
7373
<groupId>com.google.http-client</groupId>
7474
<artifactId>google-http-client-test</artifactId>
75-
<version>1.26.0</version>
75+
<version>1.27.0</version><!-- {x-version-update:google-http-client-test:current} -->
7676
<exclusions>
7777
<exclusion>
7878
<artifactId>junit</artifactId>

google-http-client-android/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-android</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-android:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-android:current} -->
1212
<name>Android Platform Extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-appengine/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-appengine</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-appengine:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-appengine:current} -->
1212
<name>Google App Engine extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-assembly/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<groupId>com.google.http-client</groupId>
1111
<artifactId>google-http-client-assembly</artifactId>
12-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-assembly:current} -->
12+
<version>1.27.0</version><!-- {x-version-update:google-http-client-assembly:current} -->
1313
<packaging>pom</packaging>
1414
<name>Assembly for the Google HTTP Client Library for Java</name>
1515

google-http-client-bom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To use it in Maven, add the following to your `pom.xml`:
1212
<dependency>
1313
<groupId>com.google.http-client</groupId>
1414
<artifactId>google-http-client-bom</artifactId>
15-
<version>1.26.0</version>
15+
<version>1.27.0</version>
1616
<type>pom</type>
1717
<scope>import</scope>
1818
</dependency>

google-http-client-bom/pom.xml

Lines changed: 76 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.google.http-client</groupId>
55
<artifactId>google-http-client-bom</artifactId>
6-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-bom:current} -->
6+
<version>1.27.0</version><!-- {x-version-update:google-http-client-bom:current} -->
77
<packaging>pom</packaging>
88

99
<name>Google HTTP Client Library for Java BOM</name>
@@ -16,6 +16,18 @@
1616
<name>Google LLC</name>
1717
</organization>
1818

19+
<developers>
20+
<developer>
21+
<id>chingor13</id>
22+
<name>Jeff Ching</name>
23+
<email>chingor@google.com</email>
24+
<organization>Google LLC</organization>
25+
<roles>
26+
<role>Developer</role>
27+
</roles>
28+
</developer>
29+
</developers>
30+
1931
<scm>
2032
<connection>scm:git:https://github.com/googleapis/google-http-java-client.git</connection>
2133
<developerConnection>scm:git:git@github.com:googleapis/google-http-java-client.git</developerConnection>
@@ -51,63 +63,114 @@
5163
<dependency>
5264
<groupId>com.google.http-client</groupId>
5365
<artifactId>google-http-client</artifactId>
54-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client:current} -->
66+
<version>1.27.0</version><!-- {x-version-update:google-http-client:current} -->
5567
</dependency>
5668
<dependency>
5769
<groupId>com.google.http-client</groupId>
5870
<artifactId>google-http-client-android</artifactId>
59-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-android:current} -->
71+
<version>1.27.0</version><!-- {x-version-update:google-http-client-android:current} -->
6072
</dependency>
6173
<dependency>
6274
<groupId>com.google.http-client</groupId>
6375
<artifactId>google-http-client-appengine</artifactId>
64-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-appengine:current} -->
76+
<version>1.27.0</version><!-- {x-version-update:google-http-client-appengine:current} -->
6577
</dependency>
6678
<dependency>
6779
<groupId>com.google.http-client</groupId>
6880
<artifactId>google-http-client-assembly</artifactId>
69-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-assembly:current} -->
81+
<version>1.27.0</version><!-- {x-version-update:google-http-client-assembly:current} -->
7082
</dependency>
7183
<dependency>
7284
<groupId>com.google.http-client</groupId>
7385
<artifactId>google-http-client-findbugs</artifactId>
74-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-findbugs:current} -->
86+
<version>1.27.0</version><!-- {x-version-update:google-http-client-findbugs:current} -->
7587
</dependency>
7688
<dependency>
7789
<groupId>com.google.http-client</groupId>
7890
<artifactId>google-http-client-gson</artifactId>
79-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-gson:current} -->
91+
<version>1.27.0</version><!-- {x-version-update:google-http-client-gson:current} -->
8092
</dependency>
8193
<dependency>
8294
<groupId>com.google.http-client</groupId>
8395
<artifactId>google-http-client-jackson</artifactId>
84-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson:current} -->
96+
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson:current} -->
8597
</dependency>
8698
<dependency>
8799
<groupId>com.google.http-client</groupId>
88100
<artifactId>google-http-client-jackson2</artifactId>
89-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson2:current} -->
101+
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson2:current} -->
90102
</dependency>
91103
<dependency>
92104
<groupId>com.google.http-client</groupId>
93105
<artifactId>google-http-client-jdo</artifactId>
94-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jdo:current} -->
106+
<version>1.27.0</version><!-- {x-version-update:google-http-client-jdo:current} -->
95107
</dependency>
96108
<dependency>
97109
<groupId>com.google.http-client</groupId>
98110
<artifactId>google-http-client-protobuf</artifactId>
99-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-protobuf:current} -->
111+
<version>1.27.0</version><!-- {x-version-update:google-http-client-protobuf:current} -->
100112
</dependency>
101113
<dependency>
102114
<groupId>com.google.http-client</groupId>
103115
<artifactId>google-http-client-test</artifactId>
104-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-test:current} -->
116+
<version>1.27.0</version><!-- {x-version-update:google-http-client-test:current} -->
105117
</dependency>
106118
<dependency>
107119
<groupId>com.google.http-client</groupId>
108120
<artifactId>google-http-client-xml</artifactId>
109-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-xml:current} -->
121+
<version>1.27.0</version><!-- {x-version-update:google-http-client-xml:current} -->
110122
</dependency>
111123
</dependencies>
112124
</dependencyManagement>
125+
<build>
126+
<plugins>
127+
<plugin>
128+
<groupId>org.sonatype.plugins</groupId>
129+
<artifactId>nexus-staging-maven-plugin</artifactId>
130+
<version>1.6.6</version>
131+
<extensions>true</extensions>
132+
<configuration>
133+
<serverId>sonatype-nexus-staging</serverId>
134+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
135+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
136+
</configuration>
137+
</plugin>
138+
</plugins>
139+
</build>
140+
141+
<profiles>
142+
<profile>
143+
<id>release-sign-artifacts</id>
144+
<activation>
145+
<property>
146+
<name>performRelease</name>
147+
<value>true</value>
148+
</property>
149+
</activation>
150+
<build>
151+
<plugins>
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-gpg-plugin</artifactId>
155+
<version>1.6</version>
156+
<executions>
157+
<execution>
158+
<id>sign-artifacts</id>
159+
<phase>verify</phase>
160+
<goals>
161+
<goal>sign</goal>
162+
</goals>
163+
<configuration>
164+
<gpgArguments>
165+
<arg>--pinentry-mode</arg>
166+
<arg>loopback</arg>
167+
</gpgArguments>
168+
</configuration>
169+
</execution>
170+
</executions>
171+
</plugin>
172+
</plugins>
173+
</build>
174+
</profile>
175+
</profiles>
113176
</project>

google-http-client-findbugs/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-findbugs</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-findbugs:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-findbugs:current} -->
1212
<name>Google APIs Client Library Findbugs custom plugin.</name>
1313

1414
<build>

google-http-client-gson/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-gson</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-gson:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-gson:current} -->
1212
<name>GSON extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-jackson/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-jackson</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson:current} -->
1212
<name>Jackson extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-jackson2/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-jackson2</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jackson2:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-jackson2:current} -->
1212
<name>Jackson 2 extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-jdo/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-jdo</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-jdo:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-jdo:current} -->
1212
<name>JDO extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-protobuf/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-protobuf</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-protobuf:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-protobuf:current} -->
1212
<name>Protocol Buffer extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-test/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-test</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-test:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-test:current} -->
1212
<name>Shared classes used for testing of artifacts in the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client-xml/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client-xml</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-xml:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client-xml:current} -->
1212
<name>XML extensions to the Google HTTP Client Library for Java.</name>
1313

1414
<build>

google-http-client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.google.http-client</groupId>
66
<artifactId>google-http-client-parent</artifactId>
7-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client-parent:current} -->
7+
<version>1.27.0</version><!-- {x-version-update:google-http-client-parent:current} -->
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>google-http-client</artifactId>
11-
<version>1.26.1-SNAPSHOT</version><!-- {x-version-update:google-http-client:current} -->
11+
<version>1.27.0</version><!-- {x-version-update:google-http-client:current} -->
1212
<name>Google HTTP Client Library for Java</name>
1313
<description>
1414
Google HTTP Client Library for Java. Functionality that works on all supported Java platforms,

google-http-client/src/main/java/com/google/api/client/http/HttpRequest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public final class HttpRequest {
5050
*
5151
* @since 1.8
5252
*/
53-
public static final String VERSION = "1.26.0";
53+
public static final String VERSION = "1.27.0";
5454

5555
/**
5656
* User agent suffix for all requests.
@@ -505,7 +505,7 @@ public HttpRequest setReadTimeout(int readTimeout) {
505505
* By default it is 0 (infinite).
506506
* </p>
507507
*
508-
* @since 1.26
508+
* @since 1.27
509509
*/
510510
public int getWriteTimeout() {
511511
return writeTimeout;
@@ -514,7 +514,7 @@ public int getWriteTimeout() {
514514
/**
515515
* Sets the timeout in milliseconds to send POST/PUT data or {@code 0} for an infinite timeout.
516516
*
517-
* @since 1.26
517+
* @since 1.27
518518
*/
519519
public HttpRequest setWriteTimeout(int writeTimeout) {
520520
Preconditions.checkArgument(writeTimeout >= 0);

0 commit comments

Comments
 (0)