maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Rowe <sar...@syr.edu>
Subject Re: Installer Scripts Best Practice
Date Fri, 13 Jul 2007 20:37:28 GMT
Hi Rodrigo,

On 7/13/07, Rodrigo Madera <rodrigo.madera@gmail.com> wrote:
> Is using Ant scripts really acceptable from a Maven good-practice point of
> view?

maven-antrun-plugin <copy> tasks are the conventional means for moving
files around, mostly because Maven 2 does not provide a generalized
facility for doing so, except for when the destination is under
target/classes/ or target/test-classes/; in those cases,
maven-resources-plugin handles the job.

So to answer your question, yes, it is acceptable to use Ant facilities
where Maven is lacking.

This particular gap will hopefully be filled by native Maven
functionality at some point in the not-too-distant future, but it's
probably hard for people to be motivated to fix this problem, because
Ant's copy task is so flexible, well-known, thoroughly tested, tight
syntactically, etc.

Steve

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


Mime
View raw message