imagej/imagej — pull request #3 by barrywark (2013-01-29 20:25:55+00:00)
Title: Corrects POM.getPOM for classes located in JARs

We came across an issue when embedding ImageJ in an other application (a Netbeans RCP app in this case):

ClassUtils.getLocation is returning a URL with suffix "!/", adding an
additional "!/" before pomPath was causing pomURL.openStream to fail.
This patch checks for the !/ suffix (and jar prefix) when creating
pomURL.