This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new ce8fc3a31c [MNG-7878] Extend test for ConsumerPom and modules in
plugin configuration
ce8fc3a31c is described below
commit ce8fc3a31c5c6747323faaa3c59b6ed6316d5bd1
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Wed Sep 13 19:20:17 2023 +0200
[MNG-7878] Extend test for ConsumerPom and modules in plugin configuration
---
.../test/resources/projects/transform/after.pom | 28 ++++++++++++++++++++
.../test/resources/projects/transform/before.pom | 30 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/maven-core/src/test/resources/projects/transform/after.pom
b/maven-core/src/test/resources/projects/transform/after.pom
index 1b92bc255e..6c970ca5a2 100644
--- a/maven-core/src/test/resources/projects/transform/after.pom
+++ b/maven-core/src/test/resources/projects/transform/after.pom
@@ -16,6 +16,22 @@
<target xml:space="preserve"> 1.5 </target>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>3.3.0</version>
+ <configuration>
+ <modules>
+ <module>
+ <test>test</test>
+ </module>
+ <jarModule>
+ <groupId>artifactGroupId</groupId>
+ <artifactId>artifactId</artifactId>
+ <uri>APP-INF/lib/anotherName-1.2.3.jar</uri>
+ </jarModule>
+ </modules>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -27,6 +43,18 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <configuration>
+ <modules>
+ <webModule>
+ <groupId>artifactGroupId</groupId>
+ <artifactId>artifactId</artifactId>
+ <excluded>true</excluded>
+ </webModule>
+ </modules>
+ </configuration>
+ </plugin>
</plugins>
</build>
<profiles>
diff --git a/maven-core/src/test/resources/projects/transform/before.pom
b/maven-core/src/test/resources/projects/transform/before.pom
index 60d0ccedf3..a1cd1e6d60 100644
--- a/maven-core/src/test/resources/projects/transform/before.pom
+++ b/maven-core/src/test/resources/projects/transform/before.pom
@@ -47,6 +47,23 @@ under the License.
<target xml:space="preserve"> 1.5 </target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>3.3.0</version>
+ <configuration>
+ <modules>
+ <module>
+ <test>test</test>
+ </module>
+ <jarModule>
+ <groupId>artifactGroupId</groupId>
+ <artifactId>artifactId</artifactId>
+ <uri>APP-INF/lib/anotherName-1.2.3.jar</uri>
+ </jarModule>
+ </modules>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -59,6 +76,19 @@ under the License.
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <configuration>
+ <modules>
+ <webModule>
+ <groupId>artifactGroupId</groupId>
+ <artifactId>artifactId</artifactId>
+ <excluded>true</excluded>
+ </webModule>
+ </modules>
+ </configuration>
+ </plugin>
</plugins>
</build>