If you have done `mvn install` previously then it will copy that zip to the site. The only risk is that you may have a stale zip in your local repository, but since the release plugin will invoke `deploy site-deploy` the released site will always be correct.
On 20 August 2012 06:46, Thomas Scheffler <[email protected]>wrote: > Am 17.08.2012 10:36, schrieb Stephen Connolly: > > Why don't you bind add dependency:copy-dependencies to the site phase. > and > > configure it to copy the zip you want. Much less dangerous > > The ZIP file is build in the package phase and that's why I want to add > the package phase to the site phase as some kind of dependency. To > create the correct site I now have to run "mvn package site". Simply > running "mvn site" will not work to have all things done for site creation. > > regards, > > Thomas > > > >> I made a maven project where the assembly plugin creates a zip file. I > >> want that zip file to be included in the site. In my opinion the best > >> way to enforce the presence of that zip file would be add the "package" > >> lifecycle to the site lifecycle on phase "pre-site". How can I modify > >> the default site lifecycle without writing a new plugin for that? > > > -- > Thomas Scheffler > Friedrich-Schiller-Universität Jena > Thüringer Universitäts- und Landesbibliothek > Bibliotheksplatz 2 > 07743 Jena > Phone: ++49 3641 940027 > FAX: ++49 3641 940022 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
