On 21/09/2007, José Pacheco <[EMAIL PROTECTED]> wrote: > > Maven bundle plugin still asking for the activator in the class path, the > "provided" scope seems to not have resolved the problem. > > The error is: > [ERROR] Error building bundle > com.criticalsoftware.example:example-module:bundle:1.0.0-SNAPSHOT : > Bundle-Activator not found on the bundle class path or imports: > org.ow2.easybeans.osgi.ejbjar.Activator > org.apache.maven.plugin.MojoFailureException: Found errors, see log
Hi José, can you try adding this instruction: <Import-Package>org.ow2.easybeans.osgi.ejbjar,*</Import-Package> ie. explicitly import the package containing your Activator - it may well be that this package is not referenced elsewhere, so isn't being found by the Bnd code analyzer (make sure you keep the wildcard in import-package) -- Cheers, Stuart
