Skip to content

Commit

Permalink
Merge pull request #21 from Vlatombe/JENKINS-30067
Browse files Browse the repository at this point in the history
[JENKINS-30067] Only lookup annotations under classes/*
  • Loading branch information
Vlatombe committed Aug 21, 2015
2 parents fe473ac + 9eae533 commit b1959cf
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 b1959cf

Please sign in to comment.