Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Andreas Tille Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java Date: Tue, 16 Jun 2020 10:20:02 +0200 Message-ID: References: X-Original-To: 959829@bugs.debian.org, Debian Java List X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Jun 16 08:15:09 2020 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -0.45 Reply-To: Andreas Tille , 959829@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: wnpp@debian.org X-Debian-Pr-Message: followup 959829 X-Debian-Pr-Package: wnpp X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 150; neutral, 145; spammy, 0. spammytokens: hammytokens:0.000-+--H*UA:1.10.1, 0.000-+--H*u:1.10.1, 0.000-+--H*UA:2018-07-13, 0.000-+--H*u:2018-07-13, 0.000-+--H*RU:mail.an3as.eu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Debian-Message: from BTS X-Mailing-List: archive/latest/1608716 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 38 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 16 Jun 2020 10:12:16 +0200 X-Original-Message-ID: <20200616081216.GT5717@an3as.eu> X-Original-References: <158872656729.29608.4303427659074751784.reportbug@friday> Xref: csiph.com linux.debian.bugs.dist:1014083 linux.debian.maint.java:11689 Hi, I have injected some preliminary packaging for google-api-client-java into salsa[1]. When trying to build I get: ... dh_auto_build /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build/google-api-client-java-1.30.9 -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/google-api-client-java-1.30.9/debian -Dmaven.repo.local=/build/google-api-client-java-1.30.9/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.http-client:google-http-client-bom:pom:debian has not been downloaded from it before. @ line 105, column 16 [ERROR] Non-resolvable import POM: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.oauth-client:google-oauth-client-bom:pom:debian has not been downloaded from it before. @ line 112, column 16 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.google.api-client:google-api-client-parent:1.30.9 (/build/google-api-client-java-1.30.9/pom.xml) has 2 errors [ERROR] Non-resolvable import POM: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.http-client:google-http-client-bom:pom:debian has not been downloaded from it before. @ line 105, column 16 -> [Help 2] [ERROR] Non-resolvable import POM: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact com.google.oauth-client:google-oauth-client-bom:pom:debian has not been downloaded from it before. @ line 112, column 16 -> [Help 2] I have added libgoogle-http-client-java that is carrying the classes in question but it seems I need to do some more magic to make maven finding it. It would be great if somebody would refresh my mind how to do this. Kind regards Andreas. [1] https://salsa.debian.org/java-team/google-api-client-java -- http://fam-tille.de