Skip to content

Commit

Permalink
itools-packager, add scope provided for dependency on maven-core (#2614)
Browse files Browse the repository at this point in the history
This fixes the new maven 3.9.2 warning:
[WARNING]
[WARNING] Plugin validation issues were detected in 1 plugin(s)
[WARNING]
[WARNING]  * com.powsybl:powsybl-itools-packager-maven-plugin:5.4.0-SNAPSHOT
[WARNING]   Declared at location(s):
[WARNING]    * com.powsybl:powsybl-distribution-core:5.4.0-SNAPSHOT (pom.xml) @ line 492
[WARNING]   Used in module(s):
[WARNING]    * com.powsybl:powsybl-distribution-core:5.4.0-SNAPSHOT (pom.xml)
[WARNING]   Plugin issue(s):
[WARNING]    * Plugin should declare these Maven artifacts in `provided` scope: [org.apache.maven:maven-repository-metadata:3.8.5, org.apache.maven:maven-artifact:3.8.5, org.apache.maven:maven-settings-builder:3.8.5, org.apache.maven:maven-resolver-provider:3.8.5, org.apache.maven:maven-model-builder:3.8.5, org.apache.maven:maven-core:3.8.5, org.apache.maven:maven-plugin-api:3.8.5, org.apache.maven:maven-model:3.8.5, org.apache.maven:maven-builder-support:3.8.5, org.apache.maven:maven-settings:3.8.5]
[WARNING]
[WARNING]
[WARNING] Fix reported issues by adjusting plugin configuration or by upgrading above listed plugins. If no upgrade available, please notify plugin maintainers about reported issues.
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]

Signed-off-by: HARPER Jon <jon.harper87@gmail.com>
  • Loading branch information
jonenst authored Aug 30, 2023
1 parent 5e40059 commit 293c2d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions itools-packager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.core.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down

0 comments on commit 293c2d1

Please sign in to comment.