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 Darren Hartford <dh...@ghsinc.com> on 2004/01/26 23:12:25 UTC

cactus-maven plugin: getting it working

Hey all,
Using cactus-maven-1.6dev-20040115 got the following error. I know some others have had it:

==SNIP==
BUILD FAILED
File...... file:/C:/blah/.maven/plugins/cactus-maven-1.6dev-20040115/
Element... ant:ear
Line...... 763
Column.... 53
Problem creating ear: c:\fileblah (Access is denied) (
and the archive is probably corrupt but I could not delete it)
==END SNIP==


The work around seems to be to add this line to project.properties:
cactus.ear=${basedir}/target/${pom.artifactId}-cactus.ear

And also these two to help out later on:
cactus.war.dir=${basedir}/target
cactus.war.name=${pom.artifactId}-cactus.war


This is really odd, as they are declared in the plugin.jelly file.  Nonetheless, sharing my experience.
-D



RE: cactus-maven plugin: getting it working

Posted by Vincent Massol <vm...@pivolis.com>.
Yeah, I need to update the nightly build of the maven project. Will do
soon.

Thanks
-Vincent

> -----Original Message-----
> From: Stephane Nicoll [mailto:snicoll@kiala.com]
> Sent: 27 January 2004 13:53
> To: Cactus Users List
> Subject: Re: cactus-maven plugin: getting it working
> 
> Darren,
> 
> Thanks for sharing this tip. Actually, it works pretty well if you
have
> a recent maven, a bootstrap from CVS for instance ;-)
> 
> Regards,
> 
> Stephane
> 
> On Mon, 2004-01-26 at 23:12, Darren Hartford wrote:
> > Hey all,
> > Using cactus-maven-1.6dev-20040115 got the following error. I know
some
> others have had it:
> >
> > ==SNIP==
> > BUILD FAILED
> > File......
file:/C:/blah/.maven/plugins/cactus-maven-1.6dev-20040115/
> > Element... ant:ear
> > Line...... 763
> > Column.... 53
> > Problem creating ear: c:\fileblah (Access is denied) (
> > and the archive is probably corrupt but I could not delete it)
> > ==END SNIP==
> >
> >
> > The work around seems to be to add this line to project.properties:
> > cactus.ear=${basedir}/target/${pom.artifactId}-cactus.ear
> >
> > And also these two to help out later on:
> > cactus.war.dir=${basedir}/target
> > cactus.war.name=${pom.artifactId}-cactus.war
> >
> >
> > This is really odd, as they are declared in the plugin.jelly file.
> Nonetheless, sharing my experience.
> > -D
> >
> >
> >
> >
---------------------------------------------------------------------
> > 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: cactus-maven plugin: getting it working

Posted by Stephane Nicoll <sn...@kiala.com>.
Darren,

Thanks for sharing this tip. Actually, it works pretty well if you have
a recent maven, a bootstrap from CVS for instance ;-)

Regards,

Stephane

On Mon, 2004-01-26 at 23:12, Darren Hartford wrote:
> Hey all,
> Using cactus-maven-1.6dev-20040115 got the following error. I know some others have had it:
> 
> ==SNIP==
> BUILD FAILED
> File...... file:/C:/blah/.maven/plugins/cactus-maven-1.6dev-20040115/
> Element... ant:ear
> Line...... 763
> Column.... 53
> Problem creating ear: c:\fileblah (Access is denied) (
> and the archive is probably corrupt but I could not delete it)
> ==END SNIP==
> 
> 
> The work around seems to be to add this line to project.properties:
> cactus.ear=${basedir}/target/${pom.artifactId}-cactus.ear
> 
> And also these two to help out later on:
> cactus.war.dir=${basedir}/target
> cactus.war.name=${pom.artifactId}-cactus.war
> 
> 
> This is really odd, as they are declared in the plugin.jelly file.  Nonetheless, sharing my experience.
> -D
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>