Done, the example in the official documentation is wrong as correctly stated here http://juplo.de/configure-https-for-jetty-maven-plugin-9-0-x/
Bye
Raffaele Gambelli
Bye
Raffaele Gambelli
[email protected] ha scritto: -----
Per: [email protected]
Da: Raffaele Gambelli
Inviato da: [email protected]
Data: 18/05/2017 04.21PM
Oggetto: [jetty-users] Configuring a Https Connector in jetty-maven-plugin
Da: Raffaele Gambelli
Inviato da: [email protected]
Data: 18/05/2017 04.21PM
Oggetto: [jetty-users] Configuring a Https Connector in jetty-maven-plugin
Hi all,
I would like to configure https embedded jetty via maven plugin, I'm trying these steps http://www.eclipse.org/jetty/documentation/current/jetty-maven-plugin.html#maven-config-https but when launch jetty:run I receive the following BUILD FAILURE:
Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.4.5.v20170502:run (default-cli) on project mail-ws: Failure: Unknown configuration type: New in org.eclipse.jetty.xml.XmlConfiguration@2ed7978c -> [Help 1]
Thanks in advance for your time and help, bye
It is probably pointing the first line of jetty.xml which is:
<New
id="httpConfig"
class="org.eclipse.jetty.server.HttpConfiguration"
>
<Set
name="secureScheme">
https
</Set>
<Set
name="securePort">
<Property
name="jetty.secure.port"
default="8443" />
</Set>
<Set
name="outputBufferSize">
32768
</Set>
<Set
name="requestHeaderSize">
8192
</Set>
<Set
name="responseHeaderSize">
8192
</Set>
<Set
name="sendServerVersion">
true
</Set>
<Set
name="sendDateHeader">
false
</Set>
<Set
name="headerCacheSize">
512
</Set>
<!-- Uncomment to enable handling of X-Forwarded- style headers
<Call name="addCustomizer"> <Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
</Call> -->
</New>
Thanks in advance for your time and help, bye
Raffaele Gambelli
Raffaele Gambelli
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
