You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mark Eramo <ma...@trustvesta.com> on 2008/01/23 16:12:29 UTC

EJB 2.0 Help

Hello,
   I have migrated our build process from Ant to Maven for all of our 
projects except a few that generate EJB's. The current system we are 
running in Production means that I have to build EJB's based on the 2.0 
format thus they require an ejb-jar.xml and since we use JBOSS as our 
application server, a jboss.xml as well.

I have not had any luck generating these with Maven. If you run the ejb 
plugin and specify 3.0 format, it does not generate the ejb-jar.xml. If 
you run it in 2.0 format, it says that the ejb-jar.xml does not exist.

Does anyone have experience generating the ejb-jar.xml with Maven or can 
anyone point me to any online documentation that might help?

Regards,
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: EJB 2.0 Help

Posted by Mark Eramo <ma...@trustvesta.com>.
Hi Jeff,
   Thanks for the info. I have done some work on this with ant inside 
maven and will look at it further as well as looking at the Hibernate 
plugin.

Regards,
Mark



Jeff Mutonho wrote:
> On Jan 23, 2008 5:12 PM, Mark Eramo <ma...@trustvesta.com> wrote:
>
>   
>> Hello,
>>   I have migrated our build process from Ant to Maven for all of our
>> projects except a few that generate EJB's. T
>>     
>
>
> Assuming you had an Ant task to generate the ejb-jar.xml file ,surely you
> could reuse it with the maven-antrun-plugin ?
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: EJB 2.0 Help

Posted by Jeff Mutonho <ej...@gmail.com>.
On Jan 23, 2008 5:12 PM, Mark Eramo <ma...@trustvesta.com> wrote:

> Hello,
>   I have migrated our build process from Ant to Maven for all of our
> projects except a few that generate EJB's. T


Assuming you had an Ant task to generate the ejb-jar.xml file ,surely you
could reuse it with the maven-antrun-plugin ?
-- 

"Don't take the name of root in vain."

Jeff  Mutonho
Cape Town
South Africa

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

Re: EJB 2.0 Help

Posted by Mark Eramo <ma...@trustvesta.com>.
Hi Wayne,
  Yes, sorry, I meant the xdoclet plugin for the ejb-jar.xml I will take 
a look at the Hibernate plugin. I also have the option of doing it with 
Ant using the antrun plugin.

Thanks,
Mark


Wayne Fay wrote:
> I believe this is simply a case of incorrect expectations on your part.
>
> As far as I know, the maven-ejb-plugin has no ability to create the
> ejb-jar.xml file for you. If you want this kind of functionality, then
> you will need to look at using XDoclet or perhaps Hibernate plugins.
>
> Wayne
>
> On 1/23/08, Mark Eramo <ma...@trustvesta.com> wrote:
>   
>> Hello,
>>    I have migrated our build process from Ant to Maven for all of our
>> projects except a few that generate EJB's. The current system we are
>> running in Production means that I have to build EJB's based on the 2.0
>> format thus they require an ejb-jar.xml and since we use JBOSS as our
>> application server, a jboss.xml as well.
>>
>> I have not had any luck generating these with Maven. If you run the ejb
>> plugin and specify 3.0 format, it does not generate the ejb-jar.xml. If
>> you run it in 2.0 format, it says that the ejb-jar.xml does not exist.
>>
>> Does anyone have experience generating the ejb-jar.xml with Maven or can
>> anyone point me to any online documentation that might help?
>>
>> Regards,
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: EJB 2.0 Help

Posted by Wayne Fay <wa...@gmail.com>.
I believe this is simply a case of incorrect expectations on your part.

As far as I know, the maven-ejb-plugin has no ability to create the
ejb-jar.xml file for you. If you want this kind of functionality, then
you will need to look at using XDoclet or perhaps Hibernate plugins.

Wayne

On 1/23/08, Mark Eramo <ma...@trustvesta.com> wrote:
> Hello,
>    I have migrated our build process from Ant to Maven for all of our
> projects except a few that generate EJB's. The current system we are
> running in Production means that I have to build EJB's based on the 2.0
> format thus they require an ejb-jar.xml and since we use JBOSS as our
> application server, a jboss.xml as well.
>
> I have not had any luck generating these with Maven. If you run the ejb
> plugin and specify 3.0 format, it does not generate the ejb-jar.xml. If
> you run it in 2.0 format, it says that the ejb-jar.xml does not exist.
>
> Does anyone have experience generating the ejb-jar.xml with Maven or can
> anyone point me to any online documentation that might help?
>
> Regards,
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org