Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
maven-plugin configuration
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>${jetty.version}</version>
<configuration>
<scanIntervalSeconds>3</scanIntervalSeconds>
<reload>manual</reload>
<testClassesDirectory>${project.basedir}/src/dev/resources</testClassesDirectory>
<webAppConfig>
<contextPath>/</contextPath>
<defaultsDescriptor>${project.basedir}/src/main/jetty/webdefault.xml</defaultsDescriptor>
<baseResource implementation="org.mortbay.resource.ResourceCollection">
<resourcesAsCSV>
${project.basedir}/src/main/javascript,
${project.basedir}/src/test/javascript,
${webresources.javascript.location}/common-src,
${project.basedir}/src/main/webapp,
${project.basedir}/src/dev/,
${project.basedir}/src/dev/services
</resourcesAsCSV>
</baseResource>
</webAppConfig>
<useTestClasspath>true</useTestClasspath>
<contextHandlers>
<contextHandler implementation="org.mortbay.jetty.webapp.WebAppContext">
<defaultsDescriptor>${project.basedir}/src/main/jetty/webdefault.xml</defaultsDescriptor>
<resourceBase>src/test/javascript/</resourceBase>
<contextPath>/test</contextPath>
</contextHandler>
</contextHandlers>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.