Ability to view how the site would look without generating the entire site
--------------------------------------------------------------------------
Key: MNG-933
URL: http://jira.codehaus.org/browse/MNG-933
Project: Maven 2
Type: New Feature
Components: design
Reporter: Arik Kfir
Priority: Minor
It would be nice to be able to run something like "m2 site:run" which would
start a process that serves the site dynamically. If you know Apache Forrest,
its similar to "forrest run" (as opposed to "forrest site" - which is like "m2
site:site").
The use case here, is that when writing documentation, it is frustrating to
having to generate the entire site every time you make a change - if you simply
want to preview the results. A better approach would be a Jetty (or Tomcat?)
process that receives the request from a browser, and generates the content
lazily. It would make writing m2-style docs a breeze.
In Maven 1 it would have been almost impossible, but with m2 - it might be
possible.
The only caveat I see here is having to know what report to run against each
URL. The only way I see to solve this is having reports expose (via
annotations?) the list of files they generate, but that has disadvantages as
well.
Non-the-less - this would be a killer helper plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]