You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by sg...@media-style.com on 2004/08/05 17:44:39 UTC

maven cactifyeaer overwirite cactifywar

Hi, 
I'm using maven.
I notice that my test war is successfully build with the cactifywar goal.
At least it contains my required weblogic.xml in Web-Inf.

In case I use the cactifyear goal no resource of my application war is in the 
appl.ear/app.war. 
I had tried to define cactifywar as pregoal of cactifyear but looks like the 
war is just overwriten.
I spend some time to set the different properties but all of them does not fix 
the problem. e.g. pre build the application war and pointing to the application 
war.

How to fix this problem without writing a own goal that create the ear?

Until trying to track done problem I notice there are different cactus plugins.
I install manually the version 1.6 but looks like there is maven plugin 3.x 
that is installed by default. ???

Thanks for any hints!
Stefan

RE: maven cactifyeaer overwirite cactifywar

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Stefan Groschupf [mailto:sg@media-style.com]
> Sent: vendredi 6 août 2004 00:42
> To: Cactus Users List
> Subject: Re: maven cactifyeaer overwirite cactifywar
> 
> I was able to track done the problem.
> In general no source war files are supported in case we use the
> cacifyear goal.
> What kind of sense does that?

I'd like to help but I don't understand your question. What's a "source war
file"?

The cactus:cactifyear goal calls the cactus:cactifywar goal.

Note that the cactifyear goal is to unit test EJB classes with Cactus.

Thanks
-Vincent

> Stefan
> 
> 
> Am 05.08.2004 um 17:44 schrieb sg@media-style.com:
> 
> > Hi,
> > I'm using maven.
> > I notice that my test war is successfully build with the cactifywar
> > goal.
> > At least it contains my required weblogic.xml in Web-Inf.
> >
> > In case I use the cactifyear goal no resource of my application war is
> > in the
> > appl.ear/app.war.
> > I had tried to define cactifywar as pregoal of cactifyear but looks
> > like the
> > war is just overwriten.
> > I spend some time to set the different properties but all of them does
> > not fix
> > the problem. e.g. pre build the application war and pointing to the
> > application
> > war.
> >
> > How to fix this problem without writing a own goal that create the ear?
> >
> > Until trying to track done problem I notice there are different cactus
> > plugins.
> > I install manually the version 1.6 but looks like there is maven
> > plugin 3.x
> > that is installed by default. ???
> >
> > Thanks for any hints!
> > Stefan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Re: maven cactifyeaer overwirite cactifywar

Posted by Stefan Groschupf <sg...@media-style.com>.
I was able to track done the problem.
In general no source war files are supported in case we use the 
cacifyear goal.
What kind of sense does that?
Stefan


Am 05.08.2004 um 17:44 schrieb sg@media-style.com:

> Hi,
> I'm using maven.
> I notice that my test war is successfully build with the cactifywar 
> goal.
> At least it contains my required weblogic.xml in Web-Inf.
>
> In case I use the cactifyear goal no resource of my application war is 
> in the
> appl.ear/app.war.
> I had tried to define cactifywar as pregoal of cactifyear but looks 
> like the
> war is just overwriten.
> I spend some time to set the different properties but all of them does 
> not fix
> the problem. e.g. pre build the application war and pointing to the 
> application
> war.
>
> How to fix this problem without writing a own goal that create the ear?
>
> Until trying to track done problem I notice there are different cactus 
> plugins.
> I install manually the version 1.6 but looks like there is maven 
> plugin 3.x
> that is installed by default. ???
>
> Thanks for any hints!
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>


RE: maven cactifyeaer overwirite cactifywar

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: sg@media-style.com [mailto:sg@media-style.com]
> Sent: jeudi 5 août 2004 17:45
> To: cactus-user@jakarta.apache.org
> Subject: maven cactifyeaer overwirite cactifywar
> 

[snip]
 
> Until trying to track done problem I notice there are different cactus
> plugins.
> I install manually the version 1.6 but looks like there is maven plugin
> 3.x
> that is installed by default. ???
> 

The version 3.x are very old Cactus plugins, at the time when the Cactus
plugin was located inside the Maven project. It has since then been moved to
the Cactus project itself and the version changed to be in sync with the
Cactus project versioning.

Thanks
-Vincent

PS: I'll answer to your other question in another email