Paul King pointed us at Apache Sling  to the integration of JSR-223
support in the recent Groovy 1.7 beta1 SNAPSHOT .
This is actually good and cool stuff in itself. Adding the required OSGi
manifest headers is simple (see the sample Maven 2 POM at ).
Now, I am wondering, whether it would not make more sense to actually
also include the OSGi bundle headers into the groovy-all.jar to be able
to deploy the JAR file as an OSGi bundle directly into the OSGi framework ?