Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11689

Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java

From Andreas Tille <andreas@an3as.eu>
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 2020-06-16 10:20 +0200
Message-ID <AieZ3-24V-5@gated-at.bofh.it> (permalink)
References <A3gzL-7Qi-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java Andreas Tille <andreas@an3as.eu> - 2020-06-16 10:20 +0200
  Bug#959829: [covid-19] Help needed to finalise bazel predependency google-api-client-java Andreas Tille <tille@debian.org> - 2020-06-16 11:30 +0200
    Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Andreas Tille <andreas@an3as.eu> - 2020-06-17 10:20 +0200
      Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-17 12:50 +0200
        Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Andreas Tille <tille@debian.org> - 2020-06-17 18:20 +0200
          Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Olek Wojnar <olek@debian.org> - 2020-06-17 19:00 +0200
            Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-06-17 19:40 +0200
              Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Olek Wojnar <olek@debian.org> - 2020-06-17 20:40 +0200
                Re: Bug#959829: [covid-19] Help needed to finalise bazel  predependency google-api-client-java Andreas Tille <tille@debian.org> - 2020-06-17 21:30 +0200

csiph-web