You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Peter Palaga <pp...@redhat.com> on 2020/10/16 10:01:31 UTC

How to build from a Camel tag?

Hi,

What is the correct way to build Camel from a tag? Trying camel-3.6.0 
ATM results in weird errors:

git checkout camel-3.6.0
mvn clean install -DskipTests
...
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor 
(default-descriptor) on project camel-component-maven-plugin: Error 
extracting plugin descriptor: 'Could not transfer artifact 
org.apache.camel:camel-package-maven-plugin:jar:sources:3.6.0 from/to 
atlassian-public (https://packages.atlassian.com/maven-external): 
Authentication failed for 
https://packages.atlassian.com/maven-external/org/apache/camel/camel-package-maven-plugin/3.6.0/camel-package-maven-plugin-3.6.0-sources.jar 
401 Unauthorized
[ERROR]   org.apache.camel:camel-package-maven-plugin:jar:3.6.0
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR]   central (https://repo1.maven.org/maven2/, releases=true, 
snapshots=false),
[ERROR]   atlassian-public 
(https://packages.atlassian.com/maven-external, releases=true, 
snapshots=false),
[ERROR]   jboss.thirdparty 
(https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/, 
releases=true, snapshots=false),
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots/, 
releases=false, snapshots=true)

Thanks,

-- Peter


Re: How to build from a Camel tag?

Posted by Peter Palaga <pp...@redhat.com>.
It looks like -Pdeploy is needed to install sources and javadoc to avoid 
looking them up remote repos.

-- P

On 16/10/2020 12:01, Peter Palaga wrote:
> Hi,
> 
> What is the correct way to build Camel from a tag? Trying camel-3.6.0 
> ATM results in weird errors:
> 
> git checkout camel-3.6.0
> mvn clean install -DskipTests
> ...
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor 
> (default-descriptor) on project camel-component-maven-plugin: Error 
> extracting plugin descriptor: 'Could not transfer artifact 
> org.apache.camel:camel-package-maven-plugin:jar:sources:3.6.0 from/to 
> atlassian-public (https://packages.atlassian.com/maven-external): 
> Authentication failed for 
> https://packages.atlassian.com/maven-external/org/apache/camel/camel-package-maven-plugin/3.6.0/camel-package-maven-plugin-3.6.0-sources.jar 
> 401 Unauthorized
> [ERROR]   org.apache.camel:camel-package-maven-plugin:jar:3.6.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR]   central (https://repo1.maven.org/maven2/, releases=true, 
> snapshots=false),
> [ERROR]   atlassian-public 
> (https://packages.atlassian.com/maven-external, releases=true, 
> snapshots=false),
> [ERROR]   jboss.thirdparty 
> (https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/, 
> releases=true, snapshots=false),
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots/, 
> releases=false, snapshots=true)
> 
> Thanks,
> 
> -- Peter


Re: How to build from a Camel tag?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Camel 3.6.0 is not built yet. Gregor is still working on that. Those
branches are for work in progress.

On Fri, Oct 16, 2020 at 12:01 PM Peter Palaga <pp...@redhat.com> wrote:
>
> Hi,
>
> What is the correct way to build Camel from a tag? Trying camel-3.6.0
> ATM results in weird errors:
>
> git checkout camel-3.6.0
> mvn clean install -DskipTests
> ...
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-plugin-plugin:3.6.0:descriptor
> (default-descriptor) on project camel-component-maven-plugin: Error
> extracting plugin descriptor: 'Could not transfer artifact
> org.apache.camel:camel-package-maven-plugin:jar:sources:3.6.0 from/to
> atlassian-public (https://packages.atlassian.com/maven-external):
> Authentication failed for
> https://packages.atlassian.com/maven-external/org/apache/camel/camel-package-maven-plugin/3.6.0/camel-package-maven-plugin-3.6.0-sources.jar
> 401 Unauthorized
> [ERROR]   org.apache.camel:camel-package-maven-plugin:jar:3.6.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR]   central (https://repo1.maven.org/maven2/, releases=true,
> snapshots=false),
> [ERROR]   atlassian-public
> (https://packages.atlassian.com/maven-external, releases=true,
> snapshots=false),
> [ERROR]   jboss.thirdparty
> (https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/,
> releases=true, snapshots=false),
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots/,
> releases=false, snapshots=true)
>
> Thanks,
>
> -- Peter
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2