You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/20 09:34:06 UTC

[maven-ear-plugin] 03/16: PR: MNG-1264 Submitted by: Jerome Lacoste Reviewed by: Stephane Nicoll Support of PAR and EJB3 artifact's type in EAR plugin

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

hboutemy pushed a commit to annotated tag maven-ear-plugin-2.1
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git

commit 40cee6aec98bf496d560c22ae96220caf6e25e66
Author: Stephane Nicoll <sn...@apache.org>
AuthorDate: Sat Oct 22 11:14:37 2005 +0000

    PR: MNG-1264
    Submitted by: Jerome Lacoste
    Reviewed by:  Stephane Nicoll
    Support of PAR and EJB3 artifact's type in EAR plugin
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-ear-plugin@327654 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java b/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java
index c9c44ec..7553ec9 100644
--- a/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java
+++ b/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java
@@ -44,6 +44,14 @@ public final class EarModuleFactory
         {
             return new EjbModule( artifact );
         }
+        else if ( "ejb3".equals( artifact.getType() ) )
+        {
+            return new EjbModule( artifact );
+        }
+        else if ( "par".equals( artifact.getType() ) )
+        {
+            return new EjbModule( artifact );
+        }
         else if ( "ejb-client".equals( artifact.getType() ) )
         {
             return new EjbClientModule( artifact );

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.