Good day to you, Sebastian,
Actually you can with maven-resources-plugin ( though it may not be pretty
).
Something like...
<project>
...
<build>
<resources>
<resource>
<targetPath>../../some-path-from-the-basedir</targetPath>
<filtering><!-- true, or false --></filtering>
<directory><!-- relative path from ${basedir} --></directory>
</resource>
<resource>
<targetPath>../../some-path-from-the-basedir-2</targetPath>
<filtering><!-- true, or false --></filtering>
<directory><!-- another relative path from ${basedir}
--></directory>
</resource>
...
</resources>
</build>
</project>
Cheers,
Franz
Sebastian Breit wrote:
>
> Hi,
>
> often i need only to copy some files from one directory to another.
> Sometimes the files must be filtered. Is there any simple plugin for this?
>
> I tried two plugins to do the job:
> - The assemby-plugin doesn't filter filesets and i can't read
> ${project.build.finalName} in the descriptor.
> - The resources-plugin isn't free to set source and destination
> directory on each execution.
>
> Regards
> Sebastian
>
> --
> T-Systems Multimedia Solutions GmbH (T-Systems MMS)
> Sebastian Breit
> Softwareentwickler
> Hausanschrift: Riesaer Strasse 5, 01129 Dresden
> Postanschrift: Postfach 10 02 24, 01072 Dresden
> Telefon: +49 351 28 20-29 27
> Telefax: +49 351 28 20-51 14
> E-Mail: mailto:[EMAIL PROTECTED]
> Internet: http://www.t-systems-mms.com
> Aufsichtsrat: Helmut Binder (Vorsitzender)
> Geschäftsführung: Dr. Klaus Radermacher, Peter Klingenburg
> Handelsregister: Amtsgericht Dresden (HRB 11433), Sitz der Gesellschaft
> Dresden
> Ust-IdNr.: DE 811 807 949
>
>
>
--
View this message in context:
http://www.nabble.com/-m2--Simple-copy-and-filter-plugin--tf3187244s177.html#a8847641
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]