Skip to content

Commit e0f1119

Browse files
authored
[SCM-1009] Wrong scope of maven-compat (#170)
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
1 parent 5a7875e commit e0f1119

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

maven-scm-plugin/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@
5959
<version>${mavenVersion}</version>
6060
<scope>provided</scope>
6161
</dependency>
62-
<dependency>
63-
<groupId>org.apache.maven</groupId>
64-
<artifactId>maven-compat</artifactId>
65-
<version>${mavenVersion}</version>
66-
<scope>provided</scope>
67-
</dependency>
6862
<dependency>
6963
<groupId>org.apache.maven</groupId>
7064
<artifactId>maven-settings</artifactId>
@@ -138,6 +132,12 @@
138132
<version>3.3.0</version>
139133
<scope>test</scope>
140134
</dependency>
135+
<dependency>
136+
<groupId>org.apache.maven</groupId>
137+
<artifactId>maven-compat</artifactId>
138+
<version>${mavenVersion}</version>
139+
<scope>test</scope>
140+
</dependency>
141141
<dependency>
142142
<groupId>org.apache.maven.scm</groupId>
143143
<artifactId>maven-scm-test</artifactId>

0 commit comments

Comments
 (0)