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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to