From 4fb568ab4c8adc0fa80c6ecd0eb72b14f2e7c25f Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Sat, 22 Oct 2005 11:14:37 +0000 Subject: [PATCH] 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@327654 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugin/ear/EarModuleFactory.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/maven-plugins/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java b/maven-plugins/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java index c9c44ec812..7553ec9454 100644 --- a/maven-plugins/maven-ear-plugin/src/main/java/org/apache/maven/plugin/ear/EarModuleFactory.java +++ b/maven-plugins/maven-ear-plugin/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 );