sonatype-nexus-community / nexus-blobstore-google-cloud

Nexus Repository Manager Blobstore backed by Google Cloud Storage
https://help.sonatype.com/en/configuring-blob-stores.html#google-cloud-blob-store
Eclipse Public License 1.0
39 stars 16 forks source link

Upgrade google client libraries #41

Closed nblair closed 5 years ago

nblair commented 5 years ago

We are currently pinned to version 1.35.0 for the google-cloud-storage and google-cloud-datastore dependencies.

Upgrading to any later version results in Nexus Repository Manager failing to start with the following in the log (or similar):

2019-07-11 22:07:08,793-0500 WARN  [fileinstall-/path/to/nexus-professional-3.17.0-01/deploy] *SYSTEM org.apache.karaf.kar.internal.KarServiceImpl - Unable to install Kar feature nexus-blobstore-google-cloud/0.7.1
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=nexus-blobstore-google-cloud; type=karaf.feature; version="[0.7.1,0.7.1]"; filter:="(&(osgi.identity=nexus-blobstore-google-cloud)(type=karaf.feature)(version>=0.7.1)(version<=0.7.1))" [caused by: Unable to resolve nexus-blobstore-google-cloud/0.7.1: missing requirement [nexus-blobstore-google-cloud/0.7.1] osgi.identity; osgi.identity=com.google.protobuf.util; type=osgi.bundle; version="[3.6.0,3.6.0]"; resolution:=mandatory [caused by: Unable to resolve com.google.protobuf.util/3.6.0: missing requirement [com.google.protobuf.util/3.6.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.google.common.base)(version>=19.0.0)(!(version>=20.0.0)))"]]
    at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
    at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389)
    at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)
    at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347)
    at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)
    at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)
    at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)
    at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)