Hi everyone,

currently I try to copy some files with the "maven-resources-plugin". Is
there any chance to get rid of the "/target/" folder during the copy of
files? I'm using the following lines:

<resource>
<filtering>true</filtering>
<directory>${basedir}/src/site</directory>
<targetPath>${staging.dir}/bin</targetPath>
  </resource>
and it results always in something like /target/myFolder/file.

Or even better. Is there a chance to loose the whole folder structure during
the copy action? If the source is something like
+src
+-main
+--a.file
+--b.file
+--c.file
---> result
+mytarget
+-a.file
+-b.file
+-c.file

Reply via email to