maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Re: resources forced to target/classes
Date Wed, 20 Jun 2007 23:33:46 GMT
On 6/20/07, Paul Copeland <> wrote:

> Trying to use <build><resources> to copy resource files to an arbitrary
> target directory.  The problem is that the resource phase insists on
> copying to target/classes no matter what I have for targetPath.

Maven isn't really into "arbitrary". :)  I assume it means 'target
path inside the jar', which is why it's going to target/classes.

> This is the latest attempt - unfortunately it tried to copy to
> target/classes/targetResources.  Even if I add ${basedir} it still tries
> to copy to a subdirectory of classes. This is not what I want. Is there
> a "copy file" plugin?

You can use the Antrun plugin.


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

View raw message