Spring使用jetty插件构建https server

96
依然饭太稀
2017.05.15 15:06* 字数 78

pom.xml:

<plugin>

<groupId>org.eclipse.jetty</groupId>

<artifactId>jetty-maven-plugin</artifactId>

<configuration>

<jettyXml>

${project.basedir}/src/main/resources/jetty/jetty.xml,

${project.basedir}/src/main/resources/jetty/jetty-http.xml,

${project.basedir}/src/main/resources/jetty/jetty-ssl.xml,

${project.basedir}/src/main/resources/jetty/jetty-https.xml

</jettyXml>

</configuration>

</plugin>

其中引用的四个xml,下载连接:

jetty.zip

Spring
Web note ad 1