scalaz/scalaz — pull request #89 by mpilquist (2012-05-08 02:19:32+00:00)
Title: Scalaz seven osgi support

In order to use Scalaz in an OSGi container, the JARs must have a handful of headers added to META-INF/MANIFEST.MF. Amongst the various required headers, there's Import-Package, which declares any packages that the JAR depends on at runtime and Export-Package, which declares any packages the JAR provides to others. These two headers are particularly difficult to maintain by hand.

This patch adds OSGi metadata by using Heiko's sbtosgi plugin -- https://github.com/typesafehub/sbtosgi

Notes:
- This is currently using sbtosgi version 0.2.0-SNAPSHOT. 0.2.0 final was released today but it was released for sbt 0.11.3.
- The iterv JAR is not configured to have correct metadata since it is contains the same package (scalar) as scalaz-core. If there's need, this could be changed to a fragment bundle so that it dynamically merges with scalaz-core at resolution time.