Maven Petals Plugin

Fix a warning about Maven dependency scopes returned by maven-plugin-plugin:3.8.2

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.3.0
  • Fix Version/s: 3.4.0
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    Fix a warning about Maven dependency scopes returned by maven-plugin-plugin:3.8.2:

    [INFO] --- maven-plugin-plugin:3.8.2:descriptor (default-descriptor) @ petals-maven-plugin ---
    [WARNING] 
    
    Some dependencies of Maven Plugins are expected to be in provided scope.
    Please make sure that dependencies listed below declared in POM
    have set '<scope>provided</scope>' as well.
    
    The following dependencies are in wrong scope:
     * org.apache.maven:maven-plugin-api: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-artifact-manager:jar:2.2.1:compile
     * org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
     * org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
     * org.apache.maven:maven-model:jar:2.2.1:compile
     * org.apache.maven:maven-artifact:jar:2.2.1:compile
     * org.apache.maven:maven-settings:jar:2.2.1:compile

    These dependencies are provided by Maven runtime itself and so they can be scoped as 'provided'.

    Show
    Fix a warning about Maven dependency scopes returned by maven-plugin-plugin:3.8.2:
    [INFO] --- maven-plugin-plugin:3.8.2:descriptor (default-descriptor) @ petals-maven-plugin ---
    [WARNING] 
    
    Some dependencies of Maven Plugins are expected to be in provided scope.
    Please make sure that dependencies listed below declared in POM
    have set '<scope>provided</scope>' as well.
    
    The following dependencies are in wrong scope:
     * org.apache.maven:maven-plugin-api: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-artifact-manager:jar:2.2.1:compile
     * org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
     * org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
     * org.apache.maven:maven-model:jar:2.2.1:compile
     * org.apache.maven:maven-artifact:jar:2.2.1:compile
     * org.apache.maven:maven-settings:jar:2.2.1:compile
    These dependencies are provided by Maven runtime itself and so they can be scoped as 'provided'.
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Thu, 27 Apr 2023 - 10:35:07 +0200
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Christophe DENEUX made changes - Thu, 27 Apr 2023 - 10:35:08 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 27 Apr 2023 - 10:35:39 +0200
Link This issue depends on MAVPETALSPLUG-42 [ MAVPETALSPLUG-42 ]
Hide
Christophe DENEUX added a comment - Thu, 27 Apr 2023 - 10:53:18 +0200

Fixed with svn#44932

Show
Christophe DENEUX added a comment - Thu, 27 Apr 2023 - 10:53:18 +0200 Fixed with svn#44932
Christophe DENEUX made changes - Thu, 27 Apr 2023 - 10:53:18 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 3.4.0 [ 11107 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
11s
1
Christophe DENEUX
Thu, 27 Apr 2023 - 10:35:07 +0200
Open Open In Progress In Progress
1s
1
Christophe DENEUX
Thu, 27 Apr 2023 - 10:35:08 +0200
In Progress In Progress Resolved Resolved
18m 10s
1
Christophe DENEUX
Thu, 27 Apr 2023 - 10:53:18 +0200

People

Dates

  • Created:
    Thu, 27 Apr 2023 - 10:34:56 +0200
    Updated:
    Thu, 27 Apr 2023 - 10:53:18 +0200
    Resolved:
    Thu, 27 Apr 2023 - 10:53:18 +0200