Re: site with file copy

2018-05-04 Thread Mark Prins

On 03-05-18 08:03, Philipp Kraus wrote:

Hello,

I’m using „mvn site“ command to build for my project the project website as 
HTML code,
During the site goal is running I need to copy some files into the target/site 
directory, how can I do this?
I need to copy some single files to the output director, but only on the site 
goal.


You could use the anrun plugin during the (pre-)site phase or stick the 
files into src/site/resources/ (with optional directories) so the site 
plugin picks them up.


-Mark

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



site with file copy

2018-05-02 Thread Philipp Kraus
Hello,

I’m using „mvn site“ command to build for my project the project website as 
HTML code,
During the site goal is running I need to copy some files into the target/site 
directory, how can I do this?
I need to copy some single files to the output director, but only on the site 
goal.

Thanks

Phil