maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <haginow2001-nab...@yahoo.com>
Subject Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase
Date Thu, 16 Mar 2006 06:59:59 GMT
This doesn't work unfortunately as the deployment is a
little more complex. We need to get some information
(e.g. artifact version) to make the deployment work,
and we don't want to duplicate that info outside the
POM. So, if we invoke ANT directly, we simply don't
have that info.

Thanks anyways.

--- Wayne Fay <waynefay@gmail.com> wrote:

> I'd leave it in Ant, and call it directly, not via
> antrun/maven.
> That's how I'm deploying our j2ee app currently...
> Just plain old "ant
> <target>".
> 
> ;-)
> 
> Wayne
> 
> 
> On 3/16/06, Chris Hagmann <chrishagmann@yahoo.com>
> wrote:
> > We need to execute some ANT tasks (e.g. for
> > redeploying a server configuration) which we only
> need
> > to execute every so often, but which are not part
> of
> > the regular build lifecycle. Hence we need to
> > configure the plugin, but cannot bind it to any of
> the
> > lifecycle phases of Maven 2.
> >
> > How can we do that?
> >
> > Thanks,
> > Chris
> >
> >
>
---------------------------------------------------------------------
> > 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


Mime
View raw message