You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2009/03/04 23:42:24 UTC
svn commit: r750206 -
/maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java
Author: dennisl
Date: Wed Mar 4 22:42:24 2009
New Revision: 750206
URL: http://svn.apache.org/viewvc?rev=750206&view=rev
Log:
[MEJB-32] Add set classifier to client classifier
o Make sure the classifier is applied to the attached client
Modified:
maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java
Modified: maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java?rev=750206&r1=750205&r2=750206&view=diff
==============================================================================
--- maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java (original)
+++ maven/plugins/trunk/maven-ejb-plugin/src/main/java/org/apache/maven/plugin/ejb/EjbMojo.java Wed Mar 4 22:42:24 2009
@@ -340,7 +340,14 @@
}
// TODO: shouldn't need classifer
- projectHelper.attachArtifact( project, "ejb-client", "client", clientJarFile );
+ if ( classifier != null )
+ {
+ projectHelper.attachArtifact( project, "ejb-client", classifier + "-client", clientJarFile );
+ }
+ else
+ {
+ projectHelper.attachArtifact( project, "ejb-client", "client", clientJarFile );
+ }
}
}