"Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

"Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

Paul Spencer-3
Karaf 4.2.0
Java 1.8

I am receiving the following error when installing any Camel 3.2.0 feature

> karaf@root()> feature:install camel/3.2.0
> org.apache.karaf.features.internal.util.MultiException: Error:
> Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0
> at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
>

Looking at the feature.xml on repo1.maven.org, I see camel-commands-core listed, but version 3.2.0 of camel-commands-core does not exist in repo1.maven.org.

  feature.xml - https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.2.0/apache-camel-3.2.0-features.xml
  camel-commands-core - https://repo1.maven.org/maven2/org/apache/camel/camel-commands-core/

How do I resolve this error?

Paul Spencer
Reply | Threaded
Open this post in threaded view
|

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

Freeman-2
Hi,

This is a known issue, please see the discussion and solution here

Cheers
Freeman

On Wed, Apr 15, 2020 at 9:33 AM Paul Spencer <[hidden email]> wrote:
Karaf 4.2.0
Java 1.8

I am receiving the following error when installing any Camel 3.2.0 feature

> karaf@root()> feature:install camel/3.2.0
> org.apache.karaf.features.internal.util.MultiException: Error:
>       Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0
>       at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
>

Looking at the feature.xml on repo1.maven.org, I see camel-commands-core listed, but version 3.2.0 of camel-commands-core does not exist in repo1.maven.org.

  feature.xml - https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.2.0/apache-camel-3.2.0-features.xml
  camel-commands-core - https://repo1.maven.org/maven2/org/apache/camel/camel-commands-core/

How do I resolve this error?

Paul Spencer
Reply | Threaded
Open this post in threaded view
|

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

Paul Spencer-3
Freeman,

I have installed a fresh copy of Karaf v4.2.8 and get the same error.

I must be doing something wrong because adding the file did not change the error. Below is the etc/org.apache.karaf.features.xml

apache-karaf-4.2.8 paul$ more etc/org.apache.karaf.features.xml
<?xml version="1.0"?>
<bundleReplacements>
        <bundle mode="maven" originalUri="mvn:org.apache.camel/camel-commands-core/3.2.0" replacement="mvn:org.apache.camel.karaf/camel-commands-core/3.2.0"/>
</bundleReplacements>


> On Apr 15, 2020, at 9:38 AM, Freeman Fang <[hidden email]> wrote:
>
> Hi,
>
> This is a known issue, please see the discussion and solution here
>
> Cheers
> Freeman
>
> On Wed, Apr 15, 2020 at 9:33 AM Paul Spencer <[hidden email]> wrote:
> Karaf 4.2.0
> Java 1.8
>
> I am receiving the following error when installing any Camel 3.2.0 feature
>
> > karaf@root()> feature:install camel/3.2.0
> > org.apache.karaf.features.internal.util.MultiException: Error:
> >       Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0
> >       at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
> >
>
> Looking at the feature.xml on repo1.maven.org, I see camel-commands-core listed, but version 3.2.0 of camel-commands-core does not exist in repo1.maven.org.
>
>   feature.xml - https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.2.0/apache-camel-3.2.0-features.xml
>   camel-commands-core - https://repo1.maven.org/maven2/org/apache/camel/camel-commands-core/
>
> How do I resolve this error?
>
> Paul Spencer

Reply | Threaded
Open this post in threaded view
|

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

Freeman-2
Hi,
<bundleReplacements> should be under <featuresProcessing...

something like
<?xml version="1.0" encoding="UTF-8"?>
<featuresProcessing xmlns="http://karaf.apache.org/xmlns/features-processing/v1.0.0">

    <!--

        Licensed to the Apache Software Foundation (ASF) under one or more
        contributor license agreements.  See the NOTICE file distributed with
        this work for additional information regarding copyright ownership.
        The ASF licenses this file to You under the Apache License, Version 2.0
        (the "License"); you may not use this file except in compliance with
        the License.  You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

        Unless required by applicable law or agreed to in writing, software
        distributed under the License is distributed on an "AS IS" BASIS,
        WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        See the License for the specific language governing permissions and
        limitations under the License.
    -->

    <blacklistedRepositories>
        <repository>mvn:org.apache.karaf.features/framework/4.3.0-SNAPSHOT/xml/features</repository>
        <repository>mvn:org.apache.karaf.features/standard/4.3.0-SNAPSHOT/xml/features</repository>
        <repository>mvn:org.apache.karaf.features/enterprise/4.3.0-SNAPSHOT/xml/features</repository>
        <repository>mvn:org.apache.karaf.features/enterprise-legacy/4.3.0-SNAPSHOT/xml/features</repository>
        <repository>mvn:org.apache.karaf.features/spring/4.3.0-SNAPSHOT/xml/features</repository>
        <repository>mvn:org.apache.karaf.features/spring-legacy/4.3.0-SNAPSHOT/xml/features</repository>
    </blacklistedRepositories>
    <bundleReplacements>
       <bundle mode="maven" originalUri="mvn:org.apache.camel/camel-commands-core/3.2.0" replacement="mvn:org.apache.camel.karaf/camel-commands-core/3.2.0"/>
    </bundleReplacements>

</featuresProcessing>

Freeman


On Wed, Apr 15, 2020 at 10:05 AM Paul Spencer <[hidden email]> wrote:
Freeman,

I have installed a fresh copy of Karaf v4.2.8 and get the same error.

I must be doing something wrong because adding the file did not change the error. Below is the etc/org.apache.karaf.features.xml

apache-karaf-4.2.8 paul$ more etc/org.apache.karaf.features.xml
<?xml version="1.0"?>
<bundleReplacements>
        <bundle mode="maven" originalUri="mvn:org.apache.camel/camel-commands-core/3.2.0" replacement="mvn:org.apache.camel.karaf/camel-commands-core/3.2.0"/>
</bundleReplacements>


> On Apr 15, 2020, at 9:38 AM, Freeman Fang <[hidden email]> wrote:
>
> Hi,
>
> This is a known issue, please see the discussion and solution here
>
> Cheers
> Freeman
>
> On Wed, Apr 15, 2020 at 9:33 AM Paul Spencer <[hidden email]> wrote:
> Karaf 4.2.0
> Java 1.8
>
> I am receiving the following error when installing any Camel 3.2.0 feature
>
> > karaf@root()> feature:install camel/3.2.0
> > org.apache.karaf.features.internal.util.MultiException: Error:
> >       Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0
> >       at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
> >
>
> Looking at the feature.xml on repo1.maven.org, I see camel-commands-core listed, but version 3.2.0 of camel-commands-core does not exist in repo1.maven.org.
>
>   feature.xml - https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.2.0/apache-camel-3.2.0-features.xml
>   camel-commands-core - https://repo1.maven.org/maven2/org/apache/camel/camel-commands-core/
>
> How do I resolve this error?
>
> Paul Spencer

Reply | Threaded
Open this post in threaded view
|

Re: "Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0" installing any camel 3.2.0 feature

Paul Spencer-3
Freeman,
The Camel feature is installing!

Paul Spencer


> On Apr 15, 2020, at 10:24 AM, Freeman Fang <[hidden email]> wrote:
>
> Hi,
> <bundleReplacements> should be under <featuresProcessing...
>
> something like
> <?xml version="1.0" encoding="UTF-8"?>
> <featuresProcessing xmlns="http://karaf.apache.org/xmlns/features-processing/v1.0.0">
>
>     <!--
>
>         Licensed to the Apache Software Foundation (ASF) under one or more
>         contributor license agreements.  See the NOTICE file distributed with
>         this work for additional information regarding copyright ownership.
>         The ASF licenses this file to You under the Apache License, Version 2.0
>         (the "License"); you may not use this file except in compliance with
>         the License.  You may obtain a copy of the License at
>
>             http://www.apache.org/licenses/LICENSE-2.0
>
>         Unless required by applicable law or agreed to in writing, software
>         distributed under the License is distributed on an "AS IS" BASIS,
>         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>         See the License for the specific language governing permissions and
>         limitations under the License.
>     -->
>
>     <blacklistedRepositories>
>         <repository>mvn:org.apache.karaf.features/framework/4.3.0-SNAPSHOT/xml/features</repository>
>         <repository>mvn:org.apache.karaf.features/standard/4.3.0-SNAPSHOT/xml/features</repository>
>         <repository>mvn:org.apache.karaf.features/enterprise/4.3.0-SNAPSHOT/xml/features</repository>
>         <repository>mvn:org.apache.karaf.features/enterprise-legacy/4.3.0-SNAPSHOT/xml/features</repository>
>         <repository>mvn:org.apache.karaf.features/spring/4.3.0-SNAPSHOT/xml/features</repository>
>         <repository>mvn:org.apache.karaf.features/spring-legacy/4.3.0-SNAPSHOT/xml/features</repository>
>     </blacklistedRepositories>
>     <bundleReplacements>
>        <bundle mode="maven" originalUri="mvn:org.apache.camel/camel-commands-core/3.2.0" replacement="mvn:org.apache.camel.karaf/camel-commands-core/3.2.0"/>
>     </bundleReplacements>
>
> </featuresProcessing>
>
> Freeman
>
>
> On Wed, Apr 15, 2020 at 10:05 AM Paul Spencer <[hidden email]> wrote:
> Freeman,
>
> I have installed a fresh copy of Karaf v4.2.8 and get the same error.
>
> I must be doing something wrong because adding the file did not change the error. Below is the etc/org.apache.karaf.features.xml
>
> apache-karaf-4.2.8 paul$ more etc/org.apache.karaf.features.xml
> <?xml version="1.0"?>
> <bundleReplacements>
>         <bundle mode="maven" originalUri="mvn:org.apache.camel/camel-commands-core/3.2.0" replacement="mvn:org.apache.camel.karaf/camel-commands-core/3.2.0"/>
> </bundleReplacements>
>
>
> > On Apr 15, 2020, at 9:38 AM, Freeman Fang <[hidden email]> wrote:
> >
> > Hi,
> >
> > This is a known issue, please see the discussion and solution here
> >
> > Cheers
> > Freeman
> >
> > On Wed, Apr 15, 2020 at 9:33 AM Paul Spencer <[hidden email]> wrote:
> > Karaf 4.2.0
> > Java 1.8
> >
> > I am receiving the following error when installing any Camel 3.2.0 feature
> >
> > > karaf@root()> feature:install camel/3.2.0
> > > org.apache.karaf.features.internal.util.MultiException: Error:
> > >       Error downloading mvn:org.apache.camel/camel-commands-core/3.2.0
> > >       at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91)
> > >
> >
> > Looking at the feature.xml on repo1.maven.org, I see camel-commands-core listed, but version 3.2.0 of camel-commands-core does not exist in repo1.maven.org.
> >
> >   feature.xml - https://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/3.2.0/apache-camel-3.2.0-features.xml
> >   camel-commands-core - https://repo1.maven.org/maven2/org/apache/camel/camel-commands-core/
> >
> > How do I resolve this error?
> >
> > Paul Spencer
>