You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2021/10/14 12:04:41 UTC
[maven-plugin-tools] branch master updated: Update ITs (#41)
This is an automated email from the ASF dual-hosted git repository.
cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 02af518 Update ITs (#41)
02af518 is described below
commit 02af518cb18c2a37db187084f329f3872447384f
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Thu Oct 14 14:04:34 2021 +0200
Update ITs (#41)
They used ancient maven API and expect things to be
on classpath, that is not the case anymore.
Changed fixed mvn version to param, and added maven-core
as dependency as the class is in maven-core.
---
.../src/it/annotation-with-inheritance-reactor/pom.xml | 7 ++++++-
maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/pom.xml b/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/pom.xml
index ad37af0..a4236d2 100644
--- a/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/pom.xml
+++ b/maven-plugin-plugin/src/it/annotation-with-inheritance-reactor/pom.xml
@@ -42,7 +42,12 @@ under the License.
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
- <version>2.0</version>
+ <version>@mavenVersion@</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>@mavenVersion@</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
diff --git a/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml b/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml
index 4921b29..3cb72fe 100644
--- a/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml
+++ b/maven-plugin-plugin/src/it/annotation-with-inheritance/pom.xml
@@ -43,7 +43,12 @@ under the License.
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
- <version>2.0</version>
+ <version>@mavenVersion@</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>@mavenVersion@</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>