As Marco is saying you don't need to use the ejb3 plugin.  Just create a
stand alone JAR to deploy under JBoss.  Again, first read the "Better Builds
with Maven 2" book which gives plenty of examples.

-aps

On 1/26/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote:

Hi Marco,

Thanks for your respose. Can you please explain in little detail or a
sample pom.xml if you have..

I am having problem to get ejb3 plugin to work..

Regards,
Vidya




"Marco Mistroni" <[EMAIL PROTECTED]>
26/01/2007 15:52
Please respond to
"Maven Users List" <[email protected]>


To
"Maven Users List" <[email protected]>
cc

Subject
Re: EJB3 with maven






Hi,
  you don't need anything special.. with jboss, you can deploy an ejb
as a jar file.
All you  need to do is to have a  jar project, make sure to put in your
src/main/resources  a META-INF directory with your persistence.xml file in
it

this is the simplest setup you could have


hth
marco

On 1/26/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have to deploy an application with EJB3 to JBoss 4.0.4 server. I also
> need to use EJB JPA for persistance. In maven 2.0, can anyone please
give
> me steps how to generate/deploy ear file from the application. It would
be
> a great help!
>
> Regards,
>
> This e-mail is subject to a disclaimer, available at
>
>

http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html

>
>
>


This e-mail is subject to a disclaimer, available at

http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html





--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson

Reply via email to