This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch MNG-7878-reproduce
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 890da03009542ac76818b09e4936596121725fc4
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Wed Sep 13 19:20:17 2023 +0200

    [MNG-7878] Reproduce an issue
---
 .../test/resources/projects/transform/after.pom    | 25 ++++++++++++++++++++
 .../test/resources/projects/transform/before.pom   | 27 ++++++++++++++++++++++
 2 files changed, 52 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..992c72f811 100644
--- a/maven-core/src/test/resources/projects/transform/after.pom
+++ b/maven-core/src/test/resources/projects/transform/after.pom
@@ -16,6 +16,19 @@
             <target xml:space="preserve">  1.5  </target>
           </configuration>
         </plugin>
+        <plugin>
+          <artifactId>maven-ear-plugin</artifactId>
+          <version>3.3.0</version>
+          <configuration>
+            <modules>
+              <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 +40,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..bcf97bb7b1 100644
--- a/maven-core/src/test/resources/projects/transform/before.pom
+++ b/maven-core/src/test/resources/projects/transform/before.pom
@@ -47,6 +47,20 @@ 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>
+              <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 +73,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>
 

Reply via email to