Hey All, We've written a deployer to transform WebJars (http://www.webjars.org) into bundles compatible with our RequireJS setup. Part of this process involves transforming the maven version into an OSGI Version. Most artifacts adhere to maven version standards, though some are just strings (SHAs, TRUNK-SNAPSHOT, etc.). I've written a simple parser to handle this. However, I'm noticing that Karaf or perhaps BND is doing the same version coercion. Can anyone point me to this class. I'm concerned I'm re-inventing the wheel and stumbling over the same edge cases.
Here's our VersionParser: https://github.com/pentaho/pentaho-osgi-bundles/blob/master/pentaho-webjars-deployer/src/main/java/org/pentaho/osgi/platform/webjars/VersionParser.java Thanks, -Nick Baker
