You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jan_bar <he...@yahoo.com> on 2005/09/19 15:00:51 UTC
ejb plugin 1.7.1
Hi,
the ejb plugin installs the client EJB code in ejb-clients folder with
ejb-clients extension e.g. <my artifact>/ejb-clients/<my client>.ejb-client.
Is this correct? How should I work with jar file with ejb-client extension
when I need it for my EJB clients?
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ejb plugin 1.7.1
Posted by jan_bar <he...@yahoo.com>.
Thanks Vincent,
I have maven 1.1-beta-2 and I am trying to use EJB plugin so it can handle
the EJB3. I forgot to add
ejbTypeHandler variable. Here is my maven.xml:
<attainGoal name="ejb:ejb" />
<move file="${maven.build.dir}/${maven.final.name}.jar"
tofile="${maven.build.dir}/${maven.final.name}.ejb3" overwrite="true"
verbose="true" />
<artifact:install artifact="${maven.build.dir}/${maven.final.name}.ejb3"
type="ejb3" project="${pom}" />
<j:new var="ejbTypeHandler"
className="org.apache.maven.ejb.EJBArtifactTypeHandler" />
<artifact:install
artifact="${maven.ejb.build.dir}/${maven.ejb.client.final.name}"
type="ejb-client" project="${pom}" typeHandler="${ejbTypeHandler}"/>
Now it works fine. Is there any better way? There is no support for EJB3 in
maven...
thanks, Jan
> Hi Jan,
>
> Version 1.7.1 of the EJB plugin required Maven 1.1. It installs ejb client
> jars into ejbs/. It also introduces a new <type> called "ejb-client".
>
> Thanks
> -Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: ejb plugin 1.7.1
Posted by Vincent Massol <vm...@pivolis.com>.
Hi Jan,
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of jan_bar
> Sent: lundi 19 septembre 2005 15:01
> To: users@maven.apache.org
> Subject: ejb plugin 1.7.1
>
> Hi,
>
> the ejb plugin installs the client EJB code in ejb-clients folder with
> ejb-clients extension e.g. <my artifact>/ejb-clients/<my client>.ejb-
> client.
> Is this correct? How should I work with jar file with ejb-client extension
> when I need it for my EJB clients?
Version 1.7.1 of the EJB plugin required Maven 1.1. It installs ejb client
jars into ejbs/. It also introduces a new <type> called "ejb-client".
Thanks
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org