You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/12/10 18:57:00 UTC
[jira] [Commented] (CAMEL-17320) camel-maven-plugin - Maven warn about scope of dependencies
[ https://issues.apache.org/jira/browse/CAMEL-17320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457323#comment-17457323 ]
Claus Ibsen commented on CAMEL-17320:
-------------------------------------
In tooling/parent there is a pom.xml with some old version of maven, eg 3.1.1. We should upgrade to newer and look at that above.
> camel-maven-plugin - Maven warn about scope of dependencies
> -----------------------------------------------------------
>
> Key: CAMEL-17320
> URL: https://issues.apache.org/jira/browse/CAMEL-17320
> Project: Camel
> Issue Type: Task
> Components: tooling
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 3.15.0
>
>
> [INFO]
> [INFO] --- maven-plugin-plugin:3.6.2:descriptor (default-descriptor) @ camel-maven-plugin ---
> [ERROR]
> Maven dependencies of Maven Plugins should be in provided scope.
> Please make sure that all your dependencies declared in POM whose group ID is
> org.apache.maven have set '<scope>provided</scope>' as well.
> In the future this error will break the build.
> The following dependencies are in wrong scope:
> * org.apache.maven:maven-core:jar:3.1.1:compile
> * org.apache.maven:maven-model:jar:3.1.1:compile
> * org.apache.maven:maven-settings:jar:3.1.1:compile
> * org.apache.maven:maven-settings-builder:jar:3.1.1:compile
> * org.apache.maven:maven-repository-metadata:jar:3.1.1:compile
> * org.apache.maven:maven-artifact:jar:3.1.1:compile
> * org.apache.maven:maven-model-builder:jar:3.1.1:compile
> * org.apache.maven:maven-aether-provider:jar:3.1.1:compile
> * org.apache.maven:maven-toolchain:jar:2.2.1:compile
> * org.apache.maven:maven-project:jar:2.2.1:compile
> * org.apache.maven:maven-profile:jar:2.2.1:compile
> * org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
> * org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
> * org.apache.maven:maven-plugin-api:jar:3.1.1:compile
> * org.apache.maven:maven-compat:jar:3.1.1:compile
> Please fix your build!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)