On 12/28/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
I'm not sure why you are using the EJB plugin since EJB3 and JBoss are just
JARs.  We use EJB3 and JBoss exclusively and I prefer the JAR plugin.

If your EJB3 project is built with the 'jar' packaging, it is handled
as a library by the EAR plugin (namely). The concept of artifact's
type is important so what you're doing sounds more like a hack.

What do you do when you generate an EAR with your EJB archives
declared with a 'jar' type.

Regards,
Stéphane

-aps

On 12/27/06, Stephane Nicoll <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On 12/26/06, Vitor Pellegrino <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> >
> > 1 - How can i deploy my project using maven to my Jboss AS instance?
>
> Have a look to cargo.
>
>
> > When i try to do a "mvn ejb:ejb" it is lacking for a ejb-jar.xml file
> and at
> > the plugin's usage page it's says that it's not mandatory anymore.
>
> Set the packaging of your project to EJB. Regarding the fact that
> ejb-jar is not mandatory, I think it's not released yet so you'll have
> to take the snapshot (the doc is the doc of the dev version).
>
> > It seems i am losing some point because i don't know where else more
> should
> > i look for these answers.
>
> Take an hour and check "Better builds with Maven" book, it will help
> jumping on board
>
> Let us know how you go.
>
> Cheers,
> Stéphane
>
>
> >
> > Thanks for any help!
> >
> > PS: Sorry about my english, it's not my first tongue. I hope i could
> made
> > myself understood.
> >
> > --
> > Vitor Pellegrino
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to