Skip to content
Permalink
Browse files

Merge pull request #21 from Vlatombe/JENKINS-30067

[JENKINS-30067] Only lookup annotations under classes/*
  • Loading branch information...
Vlatombe committed Aug 21, 2015
2 parents fe473ac + 9eae533 commit b1959cf6ae75c42f34369fcb65765e5eba2aeee5
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 b1959cf

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