karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-6227) Unresolvable dependency for decanter-appender-influxdb
Date Sun, 07 Apr 2019 14:13:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16811896#comment-16811896
] 

ASF GitHub Bot commented on KARAF-6227:
---------------------------------------

jbonofre commented on pull request #77: [KARAF-6227] Fix influxdb appender feature
URL: https://github.com/apache/karaf-decanter/pull/77
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Unresolvable dependency for decanter-appender-influxdb 
> -------------------------------------------------------
>
>                 Key: KARAF-6227
>                 URL: https://issues.apache.org/jira/browse/KARAF-6227
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>    Affects Versions: decanter-2.2.0
>         Environment: Karaf Version: 4.2.4
> Decanter Version: 2.2.0
> OS: macOS 10.14.4 (18E226)
>            Reporter: Markus W Mahlberg
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: decanter-2.3.0
>
>
> When trying to install decanter-appender-influxdb via the Karaf console, the following
exception is thrown: 
> {code:java}
> karaf@root()> feature:install decanter-appender-influxdb
> org.apache.karaf.features.internal.util.MultiException: Error:
> 	Error downloading mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.influxdb/2.15_1
> 	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
> 	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)
> 	at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:457)
> 	at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:452)
> 	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:224)
> 	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1058)
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:994)
> 	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)
> 	Suppressed: java.io.IOException: Error downloading mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.influxdb/2.15_1
> 		at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77)
> 		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 		at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> 		at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> 		... 3 more
> 	Caused by: java.io.IOException: Error resolving artifact org.apache.servicemix.bundles:org.apache.servicemix.bundles.influxdb:jar:2.15_1:
[Could not find artifact org.apache.servicemix.bundles:org.apache.servicemix.bundles.influxdb:jar:2.15_1
in central (http://repo1.maven.org/maven2/)]
> 		at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.configureIOException(AetherBasedResolver.java:803)
> 		at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:774)
> 		at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:657)
> 		at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:598)
> 		at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:565)
> 		at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download(MavenDownloadTask.java:52)
> 		at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)
> 		... 7 more
> 		Suppressed: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not
find artifact org.apache.servicemix.bundles:org.apache.servicemix.bundles.influxdb:jar:2.15_1
in central (http://repo1.maven.org/maven2/)
> 			at shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:48)
> 			at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:368)
> 			at shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75)
> 			at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:642)
> 			at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:262)
> 			at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:489)
> 			at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:390)
> 			at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:215)
> 			at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:192)
> 			at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:247)
> 			at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767)
> 			... 12 more
> 	Caused by: shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Error resolving
artifact org.apache.servicemix.bundles:org.apache.servicemix.bundles.influxdb:jar:2.15_1
> 		at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:413)
> 		at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:215)
> 		at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:192)
> 		at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:247)
> 		at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:767)
> 		... 12 more
> Error executing command: Error:
> 	Error downloading mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.influxdb/2.15_1
> {code}
> The reason for this is that the artifact - according to my research actually has the
id {{org.apache.servicemix.bundles.influxdb-java}} as opposed to {{org.apache.servicemix.bundles.influxdb}},
which is how it is referenced in the feature file.
> However, when changing this manually, a dependency on okhttp3 can not be fulfilled.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message