How can you use the assembly plugin to copy files within the file system
and not create an archive? The <binaries> element has an <unpack>
option that might work if you can get rid of the temporary archive.
Also I am not clear on what the difference is between "source" files and
"binary" files is as they are not defined in the plugin documentation
for assembly. Possible binary files means files in target/classes? Or
could this mean non-text files in src/main?
On 6/20/2007 8:49 PM, Wayne Fay wrote:
Most of the "copy this file to this special place" type "problems"
we've seen on this list can be "solved" with the Assembly plugin
and/or Antrun plugin.
Wayne
On 6/20/07, Paul Copeland <[EMAIL PROTECTED]> wrote:
So that's one vote for antRun for a the totally common need to copy
files.
I am also suspecting that <resources> behavior depends on the
<packaging> type although I haven't tested that theory and this doesn't
seem to be documented anywhere.
On 6/20/2007 4:33 PM, Wendy Smoak wrote:
> On 6/20/07, Paul Copeland <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]