Skip to content

Commit

Permalink
[JENKINS-30067] Only lookup annotations under classes/*, not in any o…
Browse files Browse the repository at this point in the history
…f the jars under WEB-INF/lib causing delays.
  • Loading branch information
Vlatombe committed Aug 20, 2015
1 parent 68fbbd1 commit 9eae533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java
Expand Up @@ -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
Expand Down

0 comments on commit 9eae533

Please sign in to comment.