You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Graham Leggett <mi...@sharp.fm> on 2006/07/04 16:38:33 UTC
Creating an EJB, then an EAR
Hi all,
I have an existing ant based project that I am trying to build with maven 2.
The existing ant build creates an EJB jar file, and then wraps it and it's
dependancies into an ear file.
I am trying to replicate this behaviour with maven 2.
Is there a way to run the ejb plugin, followed by the ear plugin to create
the final ear file?
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Creating an EJB, then an EAR
Posted by Marco Mistroni <mm...@gmail.com>.
hello,
Yes, but the whole project packages an ejb into an .ear
i thought that might help......
hth
marco
On 7/4/06, Graham Leggett <mi...@sharp.fm> wrote:
>
> On Tue, July 4, 2006 5:13 pm, Marco Mistroni wrote:
>
> > see if htis sample can help you (though, it creates a jar for a n
> EJB..)
> >
> > http://docs.codehaus.org/display/MAVENUSER/Examples
>
> Are you referring to "How to use the JBoss Embedded EJB3 Container for
> Unit testing"? It's the only example that comes up.
>
> Regards,
> Graham
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Creating an EJB, then an EAR
Posted by Graham Leggett <mi...@sharp.fm>.
On Tue, July 4, 2006 5:13 pm, Marco Mistroni wrote:
> see if htis sample can help you (though, it creates a jar for a n EJB..)
>
> http://docs.codehaus.org/display/MAVENUSER/Examples
Are you referring to "How to use the JBoss Embedded EJB3 Container for
Unit testing"? It's the only example that comes up.
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Creating an EJB, then an EAR
Posted by Marco Mistroni <mm...@gmail.com>.
Hello,
see if htis sample can help you (though, it creates a jar for a n EJB..)
http://docs.codehaus.org/display/MAVENUSER/Examples
hth
marco
On 7/4/06, Graham Leggett < minfrin@sharp.fm> wrote:
>
> Hi all,
>
> I have an existing ant based project that I am trying to build with maven
> 2.
>
> The existing ant build creates an EJB jar file, and then wraps it and it's
> dependancies into an ear file.
>
> I am trying to replicate this behaviour with maven 2.
>
> Is there a way to run the ejb plugin, followed by the ear plugin to create
>
> the final ear file?
>
> Regards,
> Graham
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Creating an EJB, then an EAR
Posted by Graham Leggett <mi...@sharp.fm>.
On Wed, July 5, 2006 8:07 am, Tim Kettler wrote:
> you should read the free maven book [1]. It is a very good introduction to
> m2 and has a
> chapter that shows an example of a J2EE application developed with maven.
I can develop an app from scratch no problem, the problem comes about
where an application already exists, is built with ant, and maven needs to
fit the existing structure.
Maven 2 is significantly more difficult to use than maven 1 ever was, it
seems no matter what options I try, there is some missing feature or other
obstacle that gets in the way.
The exact functionality I need is a maven 1 pregoal to run ejb:ejb before
ear:ear, but these have been removed from maven 2 with no obvious
replacement.
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Creating an EJB, then an EAR
Posted by Tim Kettler <ti...@udo.edu>.
Hi,
you should read the free maven book [1]. It is a very good introduction to m2 and has a
chapter that shows an example of a J2EE application developed with maven.
-Tim
[1] http://library.mergere.com/
Graham Leggett schrieb:
> Hi all,
>
> I have an existing ant based project that I am trying to build with maven 2.
>
> The existing ant build creates an EJB jar file, and then wraps it and it's
> dependancies into an ear file.
>
> I am trying to replicate this behaviour with maven 2.
>
> Is there a way to run the ejb plugin, followed by the ear plugin to create
> the final ear file?
>
> Regards,
> Graham
> --
>
>
>
> ---------------------------------------------------------------------
> 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