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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to