Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-837

use an embedded http server that is light and requires just Java 7

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: site:run
    • Labels:

      Description

      With site:run it is possible to view the static content as if it was hosted on a webserver. This issue is about looking for alternative implementation to do that. It should be as simple as: map the context path to a specific folder. Now you should be able to view it on a local port via a browser.

      with Jetty upgrade for security reasons in MSITE-829 (even if security reasons could be discussed in "mvn site:run" scenario: we're not in a permanent webserver, just a developer temporary one that should be limited to localhost requests handling), Java 8 is required when our target currently is Java 7

      this is perhaps the right moment to look for a light http server that would not require Java 8: there are many options available like https://syntaxcorrect.com/Java/5_Ultra_Lightweight_Http_Server_Implementations_in_Java_for_Blazing_Fast_Microservices_APIs_or_Even_Websites or any other idea

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hboutemy Herve Boutemy
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: