[ 
https://issues.apache.org/jira/browse/MSITE-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894949#comment-16894949
 ] 

Hervé Boutemy commented on MSITE-837:
-------------------------------------

yes, Java version requirement may evolve: already stated with a link to 
MSITE-828
and I'm concerned about site:run then the whole plugin's size (dependencies are 
downloaded even if the goal is not used), not plugin's unit tests: a lot of 
people use the plugin, but not so many build it

> use an embedded http server that is light and requires just Java 7
> ------------------------------------------------------------------
>
>                 Key: MSITE-837
>                 URL: https://issues.apache.org/jira/browse/MSITE-837
>             Project: Maven Site Plugin
>          Issue Type: Task
>          Components: site:run
>    Affects Versions: 3.8.2
>            Reporter: Hervé Boutemy
>            Priority: Major
>              Labels: up-for-grabs
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to