Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Rif: Configuring a Https Connector in jetty-maven-plugin

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



-----jetty-users-bounces@xxxxxxxxxxx ha scritto: -----
Per: jetty-users@xxxxxxxxxxx
Da: Raffaele Gambelli
Inviato da: jetty-users-bounces@xxxxxxxxxxx
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

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Back to the top