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 c528eee6c80d928ecc0c7445aadf6f9c1532aca7 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 | 27 ++++++++++++++++++++++ .../test/resources/projects/transform/before.pom | 27 ++++++++++++++++++++++ 2 files changed, 54 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..16a8726b26 100644 --- a/maven-core/src/test/resources/projects/transform/after.pom +++ b/maven-core/src/test/resources/projects/transform/after.pom @@ -16,6 +16,20 @@ <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> @@ -27,6 +41,19 @@ </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> <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>
