2011/1/25 martin krüger <[email protected]>: > 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.
Strange, it should work. Are you sure your files are under src/site? Did you try using only: <directory>src/site</directory> > 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 If the resource is correctly configured, this is the way it should work. Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
