maven-users mailing list archives

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

On 7/13/07, Rodrigo Madera <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message