scijava/scripting-java — pull request #1 by dscho (2014-06-18 21:09:22+00:00)
Title: Allow running inside Maven unit tests

When Maven's surefire plugin runs unit tests, the URLClassLoader does
actually not list the URLs corresponding to the dependencies. Instead,
surefire tries to be clever and hides those dependencies inside a
single, empty .jar file's manifest's Class-Path: entry.

We are not dumb, so surefire loses: we get the URLs anyway. Hah! Take
this, surefire! *shakes-fist*

This came up while working on a regression test for http://fiji.sc/bugzilla/show_bug.cgi?id=787.

Signed-off-by: Johannes Schindelin