Skip to content

Commit

Permalink
[SCM-1009] Wrong scope of maven-compat (#170)
Browse files Browse the repository at this point in the history
The maven-compat is enlisted as provided dependency of plugin,
while it is actually NOT needed at runtime, but due this
Maven warns in 3.9.2+.

The maven-compat IS needed, but only in test scope.

---

https://issues.apache.org/jira/browse/SCM-1009
  • Loading branch information
cstamas authored May 15, 2023
1 parent 5a7875e commit e0f1119
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions maven-scm-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${mavenVersion}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-settings</artifactId>
Expand Down Expand Up @@ -138,6 +132,12 @@
<version>3.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${mavenVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-test</artifactId>
Expand Down

0 comments on commit e0f1119

Please sign in to comment.