I think it should be possible to bind the 'single' goal of the assembly plugin to the pre-site phase, where it would produce the zip.
But I think the approach depends on what you're trying to do. You might be doing too much in one project. What would the zip contain? /Anders On Fri, Aug 17, 2012 at 10:36 AM, Stephen Connolly <[email protected]> wrote: > 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 > > On 17 August 2012 09:32, Thomas Scheffler <[email protected]>wrote: > >> Hi, >> >> 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? >> >> kind regards, >> >> Thomas >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
