Branch: refs/heads/master Home: https://github.com/jenkinsci/maven-hpi-plugin Commit: 4ace69efa781d8903bf514c6da84a01366a72b6d https://github.com/jenkinsci/maven-hpi-plugin/commit/4ace69efa781d8903bf514c6da84a01366a72b6d Author: Jesse Glick <jgl...@cloudbees.com> Date: 2012-08-22 (Wed, 22 Aug 2012)
Changed paths: M src/main/java/org/jenkinsci/maven/plugins/hpi/HplMojo.java Log Message: ----------- Should also pass over SCOPE_TEST dependencies. Otherwise during hpi:run (or hudson-dev:run) is muddied with things like org.jvnet.hudson.test.SleepBuilder.DescriptorImpl. (Worse, in cases like SleepBuilder, there is no *.jelly so attempting to add the builder results in an exception when you submit.) This is because the.hpl (for example of ui-samples-plugin) includes jenkins-test-harness.jar. Simplifying to use getRuntimeClasspathElements, which is what is actually wanted here.