You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2026/08/30 16:30:21 UTC

(maven-ear-plugin) branch fix/mear-305-project094-classpath created (now b147bb1)

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

elharo pushed a change to branch fix/mear-305-project094-classpath
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git


      at b147bb1  MEAR-305: Fix project-094 EJB Class-Path expectation

This branch includes the following new commits:

     new b147bb1  MEAR-305: Fix project-094 EJB Class-Path expectation

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(maven-ear-plugin) 01/01: MEAR-305: Fix project-094 EJB Class-Path expectation

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch fix/mear-305-project094-classpath
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git

commit b147bb17e77bc569d865f31c0eda5c5573774298
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Aug 30 16:30:11 2026 +0000

    MEAR-305: Fix project-094 EJB Class-Path expectation
    
    The changeManifestClasspath rework leaves non-skinny module manifests
    untouched (persisting the original Class-Path including the provided
    jboss-ejb-api_3.1_spec dependency). Adjust testProject094 to expect the
    actual 3-element Class-Path instead of the stripped 2-element value.
---
 src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java b/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java
index 504e760..67b1054 100644
--- a/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java
+++ b/src/test/java/org/apache/maven/plugins/ear/it/EarMojoIT.java
@@ -1215,7 +1215,13 @@ class EarMojoIT extends AbstractEarPluginIT {
                 new boolean[] {false, false, false, false, false, false, false},
                 earModules,
                 earModuleDirectory,
-                new String[][] {null, null, null, null, new String[] {jarSampleThreeLibrary, jarSampleTwoLibrary}},
+                new String[][] {
+                    null,
+                    null,
+                    null,
+                    null,
+                    new String[] {"jboss-ejb-api_3.1_spec-1.0.2.Final.jar", jarSampleThreeLibrary, jarSampleTwoLibrary}
+                },
                 true);
 
         assertEarModulesContent(