Source: google-auth-java Version: 0.18.0-1 Severity: normal Tags: patch upstream
The sub-POM file oauth2_http/pom.xml has no version number for the dependencies google-http-client and google-http-client-jackson2. It probably should be defined in the parent POM. For that reason, projects depending on the oauth2-http artifact fail to resolve the version numbers of those two dependencies. The attached patch, also committed to the VCS, solves the issue. Best, Pierre
diff -Nru google-auth-java-0.18.0/debian/changelog google-auth-java-0.18.0/debian/changelog --- google-auth-java-0.18.0/debian/changelog 2020-12-23 22:03:21.000000000 +0100 +++ google-auth-java-0.18.0/debian/changelog 2021-05-06 15:49:25.000000000 +0200 @@ -1,3 +1,10 @@ +google-auth-java (0.18.0-2) UNRELEASED; urgency=medium + + * Team upload + * Adding missing version number of two dependencies in the pom of oauth2_http + + -- Pierre Gruet <p...@debian.org> Thu, 06 May 2021 15:49:25 +0200 + google-auth-java (0.18.0-1) unstable; urgency=high * New upstream release diff -Nru google-auth-java-0.18.0/debian/patches/adding_version_of_http_client_for_oauth2.patch google-auth-java-0.18.0/debian/patches/adding_version_of_http_client_for_oauth2.patch --- google-auth-java-0.18.0/debian/patches/adding_version_of_http_client_for_oauth2.patch 1970-01-01 01:00:00.000000000 +0100 +++ google-auth-java-0.18.0/debian/patches/adding_version_of_http_client_for_oauth2.patch 2021-05-06 15:49:25.000000000 +0200 @@ -0,0 +1,27 @@ +Description: adding version information for two oauth2 dependencies + The dependencies google-http-client and google-http-client-jackson2 of + oauth2_http have no version number in the pom. I add them as dependencies in + the parent pom so that their version number is inherited. +Author: Pierre Gruet <p...@debian.org> +Forwarded: no +Last-Update: 2021-05-06 + +--- a/pom.xml ++++ b/pom.xml +@@ -121,6 +121,16 @@ + <version>${project.version}</version> + <type>test-jar</type> + </dependency> ++ <dependency> ++ <groupId>com.google.http-client</groupId> ++ <artifactId>google-http-client</artifactId> ++ <version>${project.google.http.version}</version> ++ </dependency> ++ <dependency> ++ <groupId>com.google.http-client</groupId> ++ <artifactId>google-http-client-jackson2</artifactId> ++ <version>${project.google.http.version}</version> ++ </dependency> + </dependencies> + </dependencyManagement> + diff -Nru google-auth-java-0.18.0/debian/patches/series google-auth-java-0.18.0/debian/patches/series --- google-auth-java-0.18.0/debian/patches/series 2020-12-23 22:03:21.000000000 +0100 +++ google-auth-java-0.18.0/debian/patches/series 2021-05-06 15:49:25.000000000 +0200 @@ -1,3 +1,4 @@ verbose-build.patch no-appengine.patch use-default-debian-versions.patch +adding_version_of_http_client_for_oauth2.patch