karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anant Dongare (Jira)" <j...@apache.org>
Subject [jira] [Created] (KARAF-6777) Maven Karaf plugin - unkonwn protocol gs
Date Wed, 01 Jul 2020 14:05:00 GMT
Anant Dongare created KARAF-6777:
------------------------------------

             Summary: Maven Karaf plugin - unkonwn protocol gs
                 Key: KARAF-6777
                 URL: https://issues.apache.org/jira/browse/KARAF-6777
             Project: Karaf
          Issue Type: Bug
          Components: karaf
            Reporter: Anant Dongare


Hi,

We are using following karaf -maven plugin to build our karaf project, also we are using google
buckets as artifactory repository.

 

<dependency>
 <groupId>org.apache.karaf.tooling</groupId>
 <artifactId>karaf-maven-plugin</artifactId>
 <version>4.3.0.RC1</version>
</dependency>

 

 

While executing this plugin it is not able to recognize gs protocol which is used to access
artifacts from google buckets(gs://bucket-name)

Getting follwing error:
java.net.MalformedURLException: unknown protocol: gs
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:618)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:508)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:457)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL.<init>
(MavenRepositoryURL.java:191)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenConfigurationImpl.getRepositories
(MavenConfigurationImpl.java:318)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.selectRepositories
(AetherBasedResolver.java:406)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:618)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:600)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:567)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download
(MavenDownloadTask.java:47)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run
(AbstractRetryableDownloadTask.java:60)
Step #0 - "Maven integration tests": at java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:511)
Step #0 - "Maven integration tests": at java.util.concurrent.FutureTask.run (FutureTask.java:266)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201
(ScheduledThreadPoolExecutor.java:180)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
(ScheduledThreadPoolExecutor.java:293)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1149)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:624)
Step #0 - "Maven integration tests": at java.lang.Thread.run (Thread.java:748)
Step #0 - "Maven integration tests": [ERROR] invalid repository URLs
Step #0 - "Maven integration tests": java.net.MalformedURLException: unknown protocol: gs
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:618)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:508)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:457)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL.<init>
(MavenRepositoryURL.java:191)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenConfigurationImpl.getRepositories
(MavenConfigurationImpl.java:318)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.selectRepositories
(AetherBasedResolver.java:406)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:618)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:600)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:567)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download
(MavenDownloadTask.java:47)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run
(AbstractRetryableDownloadTask.java:60)
Step #0 - "Maven integration tests": at java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:511)
Step #0 - "Maven integration tests": at java.util.concurrent.FutureTask.run (FutureTask.java:266)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201
(ScheduledThreadPoolExecutor.java:180)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
(ScheduledThreadPoolExecutor.java:293)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1149)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:624)
Step #0 - "Maven integration tests": at java.lang.Thread.run (Thread.java:748)
Step #0 - "Maven integration tests": [ERROR] invalid repository URLs
Step #0 - "Maven integration tests": java.net.MalformedURLException: unknown protocol: gs
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:618)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:508)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:457)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL.<init>
(MavenRepositoryURL.java:191)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenConfigurationImpl.getRepositories
(MavenConfigurationImpl.java:318)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.selectRepositories
(AetherBasedResolver.java:406)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:618)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:600)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:567)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download
(MavenDownloadTask.java:47)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run
(AbstractRetryableDownloadTask.java:60)
Step #0 - "Maven integration tests": at java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:511)
Step #0 - "Maven integration tests": at java.util.concurrent.FutureTask.run (FutureTask.java:266)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201
(ScheduledThreadPoolExecutor.java:180)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
(ScheduledThreadPoolExecutor.java:293)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1149)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:624)
Step #0 - "Maven integration tests": at java.lang.Thread.run (Thread.java:748)
Step #0 - "Maven integration tests": [WARNING] Error resolving artifact org.ops4j.pax.web:pax-web-features:xml:features:7.0.0:
[Could not find artifact org.ops4j.pax.web:pax-web-features:xml:features:7.0.0]
Step #0 - "Maven integration tests": java.io.IOException: Error resolving artifact org.ops4j.pax.web:pax-web-features:xml:features:7.0.0:
[Could not find artifact org.ops4j.pax.web:pax-web-features:xml:features:7.0.0]
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:720)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:659)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve[ERROR]
invalid repository URLs
Step #0 - "Maven integration tests": java.net.MalformedURLException: unknown protocol: gs
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:618)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:508)
Step #0 - "Maven integration tests": at java.net.URL.<init> (URL.java:457)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenRepositoryURL.<init>
(MavenRepositoryURL.java:191)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.config.MavenConfigurationImpl.getRepositories
(MavenConfigurationImpl.java:318)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.selectRepositories
(AetherBasedResolver.java:406)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:618)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:600)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:567)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download
(MavenDownloadTask.java:47)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run
(AbstractRetryableDownloadTask.java:60)
Step #0 - "Maven integration tests": at java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:511)
Step #0 - "Maven integration tests": at java.util.concurrent.FutureTask.run (FutureTask.java:266)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201
(ScheduledThreadPoolExecutor.java:180)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run
(ScheduledThreadPoolExecutor.java:293)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1149)
Step #0 - "Maven integration tests": at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:624)
Step #0 - "Maven integration tests": at java.lang.Thread.run (Thread.java:748)
Step #0 - "Maven integration tests": (AetherBasedResolver.java:600)
Step #0 - "Maven integration tests": at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve
(AetherBasedResolver.java:567)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.MavenDownloadTask.download
(MavenDownloadTask.java:47)
Step #0 - "Maven integration tests": at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run
(AbstractRetryableDownloadTask.java:60)
Step #0 - "Maven integration tests": at java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:511)
Step #0 - "Maven integration tests": at java.util.concurrent.FutureTask.run (FutureTask.java:266)
Step #0 - "Maven integration tests": at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201
(ScheduledThreadPoolExecutor.java:180)
Step #0 - "Maven integration tests": [ERROR] invalid repository URLs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message