Hi, Please check https://maven.apache.org/plugins/maven-site-plugin/usage.html It works fine with: mvn site-deploy
On Mon, Nov 14, 2022 at 2:07 PM P. Ottlinger <pottlin...@apache.org> wrote: > Hi, > > over at Creadur we use the maven-antrun-plugin to copy over a file > during site build. I just realized that this mechanism does not work > anymore as the file is not copied during the build. > > Does anyone experience the same problem or has a different solution? We > want to copy the existing RELEASE_NOTES.txt into the target/site-folder > during the build. > > https://github.com/apache/creadur-rat/blob/master/pom.xml#L390 > https://github.com/apache/creadur-tentacles/blob/master/pom.xml#L192 > calls the plugin to copy the file > > But if I run > $ mvn site:site site:stage > no file is found under /target/site. > > Thanks for any hints or references. > > Cheers, > Phil >