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 2025/11/22 22:29:32 UTC

(maven-ejb-plugin) branch bu updated: format

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

elharo pushed a commit to branch bu
in repository https://gitbox.apache.org/repos/asf/maven-ejb-plugin.git


The following commit(s) were added to refs/heads/bu by this push:
     new 5a59569  format
5a59569 is described below

commit 5a59569f9884ac874b314cad5cbeac8ace0146fd
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sat Nov 22 16:29:26 2025 -0600

    format
---
 src/main/java/org/apache/maven/plugins/ejb/EjbMojo.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/ejb/EjbMojo.java b/src/main/java/org/apache/maven/plugins/ejb/EjbMojo.java
index cba3b8b..8d16e99 100644
--- a/src/main/java/org/apache/maven/plugins/ejb/EjbMojo.java
+++ b/src/main/java/org/apache/maven/plugins/ejb/EjbMojo.java
@@ -47,10 +47,9 @@ import org.codehaus.plexus.archiver.AbstractArchiver;
 import org.codehaus.plexus.archiver.ArchiverException;
 import org.codehaus.plexus.archiver.jar.JarArchiver;
 import org.codehaus.plexus.archiver.jar.ManifestException;
+import org.codehaus.plexus.archiver.util.DefaultFileSet;
 import org.codehaus.plexus.util.FileUtils;
 
-import static org.codehaus.plexus.archiver.util.DefaultFileSet.fileSet;
-
 /**
  * Build an EJB (and optional client) from the current project.
  *
@@ -367,7 +366,7 @@ public class EjbMojo extends AbstractMojo {
                     new IncludesExcludes(Collections.emptyList(), excludes, DEFAULT_INCLUDES_LIST, defaultExcludes);
 
             AbstractArchiver abstractArchiver = archiver.getArchiver();
-            abstractArchiver.addFileSet(fileSet(sourceDirectory)
+            abstractArchiver.addFileSet(DefaultFileSet.fileSet(sourceDirectory)
                     .prefixed("")
                     .includeExclude(ie.resultingIncludes(), ie.resultingExcludes()));
 
@@ -413,7 +412,7 @@ public class EjbMojo extends AbstractMojo {
                     clientIncludes, clientExcludes, DEFAULT_INCLUDES_LIST, DEFAULT_CLIENT_EXCLUDES_LIST);
 
             AbstractArchiver abstractArchiver = clientArchiver.getArchiver();
-            abstractArchiver.addFileSet(fileSet(sourceDirectory)
+            abstractArchiver.addFileSet(DefaultFileSet.fileSet(sourceDirectory)
                     .prefixed("")
                     .includeExclude(ie.resultingIncludes(), ie.resultingExcludes()));