Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 8.0.0.M1
-
Fix Version/s: None
-
Component/s: Maven
-
Labels:None
-
Environment:maven 3
maven jetty plugin 7.2.2.v20101205
-
Testcase included:yes
-
Number of attachments :
Description
I have such a configuration at my maven jetty plugin.
<contextHandlers>
<contextHandler implementation="org.eclipse.jetty.server.handler.ContextHandler">
<contextPath>/images</contextPath>
<resourceBase>D:/LocalProjects/istanbul/html/static</resourceBase>
<handler implementation="org.eclipse.jetty.server.handler.ResourceHandler"/>
</contextHandler>
</contextHandlers>
This configuration is working like a charm with jetty:run command but it is not working with jetty:run-exploded.
Is this expected behaviour?
Greetings,
The maven-jetty-plugin's jetty:run-war and jetty:run-exploded goals were originally meant to be used on a war file, that by definition can only contain a single web application. For this reason, <contextHandlers> configuration element is currently ignored by the above goals.
If you could provide us with a description of your use case, please reopen this ticket, and we will then decide if the support for the feature you are requested could be added.
-Michael