Hi,

I'm writing this to both mailing lists because I'm not sure whether my problem is releated to Groovy/gmaven-plugin or the maven-bundle-plugin from the Apache Felix project.

I'm using the maven-bundle-plugin to generate OSGI MANIFEST.MF headers for my Groovy projects. The Import-Package entries are created as expected when the gmaven-plugin 1.0-rc-3 is used but for some cases it doesn't work when the gmaven-plugin 1.0-rc-5 (with Groovy 1.6) is used.

A simple example project that demonstates the problem can be downloaded from http://repo.openehealth.org/sites/tmp/groovy-bundle.zip . It's a Maven 2 project. Running 'mvn install' creates a MANIFEST.MF in the target/classes/META-INF folder.

In this example I'm using this Groovy class

import javax.xml.transform.TransformerFactory
class Sample {
   void activate() {
       TransformerFactory.newInstance()
   }
}

Compiling the code with gmaven-plugin 1.0-rc-3 and running the maven-bundle-plugin creates a

javax.xml.transform

entry in the Import-Package header (as expected). When using gmaven-plugin 1.0-rc-5 this entry is not created. I tried with both versions, 1.4.3 and 2.0.0, of the maven-bundle-plugin - no success in this case.

Any ideas?

Thanks in advance for your help,
Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to