You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephane Nicoll <sn...@kiala.com> on 2004/01/07 17:25:53 UTC

sample cactus maven application

Hello,

As far as I understood the maven cactus plugin is not up to date and does not
allows to build J2EE ear files (to test EJBs, session beans locally, etc). I
also heard that the pure ant version does provide that kind of features. Is
there somewhere a sample of such usage in maven (using a customized maven
goal in maven.xml I assume).

The purpose being:

# Build the ear with the dependency having ear.bundle or other set to true
# Deploys the ear
# Run the tests 
# Undeploy

(Well exactly what maven cacuts plugin provide for war application.

Any link or tutorial is really appreciated.

Regards,

Stephane

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


RE: sample cactus maven application

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Stephane,

> -----Original Message-----
> From: Stephane Nicoll [mailto:snicoll@kiala.com]
> Sent: 07 January 2004 17:26
> To: Maven user list (E-mail)
> Subject: sample cactus maven application
> 
> Hello,
> 
> As far as I understood the maven cactus plugin 
> is not up to date and does
> not
> allows to build J2EE ear files (to test EJBs, session beans locally,
etc).

It does, but that's not in released version yet. You'll have to use a
nightly build version (which I can put online tonight or tomorrow) or
you'll need to build it from CVS-
http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/
(quite simple to do - let me know if you're interested in doing this,
I'll give you the details).

> I
> also heard that the pure ant version does provide that kind of
features.
> Is
> there somewhere a sample of such usage in maven (using a customized
maven
> goal in maven.xml I assume).

Yep, inside the plugin itself :-)

> 
> The purpose being:
> 
> # Build the ear with the dependency having ear.bundle or other set to
true
> # Deploys the ear
> # Run the tests
> # Undeploy
> 
> (Well exactly what maven cacuts plugin provide for war application.
> 
> Any link or tutorial is really appreciated.

Yep, it's supported. There's even a sample that show how to use it. The
sample is located here:

http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/sampl
es/ejb/

BTW, the Cactus plugin for Maven is now part of the Cactus project. Thus
the best is probably to continue this discussion on the cactus list. 

Thanks
-Vincent


RE: sample cactus maven application

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Stephane,

> -----Original Message-----
> From: Stephane Nicoll [mailto:snicoll@kiala.com]
> Sent: 07 January 2004 17:26
> To: Maven user list (E-mail)
> Subject: sample cactus maven application
> 
> Hello,
> 
> As far as I understood the maven cactus plugin 
> is not up to date and does
> not
> allows to build J2EE ear files (to test EJBs, session beans locally,
etc).

It does, but that's not in released version yet. You'll have to use a
nightly build version (which I can put online tonight or tomorrow) or
you'll need to build it from CVS-
http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/
(quite simple to do - let me know if you're interested in doing this,
I'll give you the details).

> I
> also heard that the pure ant version does provide that kind of
features.
> Is
> there somewhere a sample of such usage in maven (using a customized
maven
> goal in maven.xml I assume).

Yep, inside the plugin itself :-)

> 
> The purpose being:
> 
> # Build the ear with the dependency having ear.bundle or other set to
true
> # Deploys the ear
> # Run the tests
> # Undeploy
> 
> (Well exactly what maven cacuts plugin provide for war application.
> 
> Any link or tutorial is really appreciated.

Yep, it's supported. There's even a sample that show how to use it. The
sample is located here:

http://cvs.apache.org/viewcvs.cgi/jakarta-cactus/integration/maven/sampl
es/ejb/

BTW, the Cactus plugin for Maven is now part of the Cactus project. Thus
the best is probably to continue this discussion on the cactus list. 

Thanks
-Vincent


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