Last active
December 11, 2015 11:09
-
-
Save geowarin/4591942 to your computer and use it in GitHub Desktop.
Basic configuration for the jetty-maven-plugin (http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>8.1.8.v20121106</version> | |
<configuration> | |
<scanIntervalSeconds>1</scanIntervalSeconds> | |
<!-- Context path is / by default --> | |
<!-- <webApp> --> | |
<!-- <contextPath>/${project.artifactId}</contextPath> --> | |
<!-- </webApp> --> | |
<connectors> | |
<!-- or org.eclipse.jetty.server.bio.SocketConnector to avoid file locking on windows --> | |
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> | |
<port>8080</port> | |
</connector> | |
</connectors> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment