How to build from a Camel tag?

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

How to build from a Camel tag?

Peter Palaga
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

Reply | Threaded
Open this post in threaded view
|

Re: How to build from a Camel tag?

Peter Palaga
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

Reply | Threaded
Open this post in threaded view
|

Re: How to build from a Camel tag?

Claus Ibsen-2
In reply to this post by Peter Palaga
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 <[hidden email]> 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