Skip to content
Permalink
Browse files

[JENKINS-30067] Only lookup annotations under classes/*, not in any o…

…f the jars under WEB-INF/lib causing delays.
  • Loading branch information...
Vlatombe committed Aug 20, 2015
1 parent 68fbbd1 commit 9eae5332208c4aadca9267119478c82ad1c3375d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java
@@ -560,6 +560,7 @@ public void checkPomConfiguration() throws MojoExecutionException {
public void finishConfigurationBeforeStart() throws Exception {
super.finishConfigurationBeforeStart();
WebAppContext wac = getWebAppConfig();
wac.setAttribute("org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern", ".*/classes/.*");
// to allow the development environment to run multiple "mvn hpi:run" with different port,
// use different session cookie names. Otherwise they can mix up. See
// http://stackoverflow.com/questions/1612177/are-http-cookies-port-specific

0 comments on commit 9eae533

Please sign in to comment.
You can’t perform that action at this time.