Hello,
 
I have a class with a method
 
  public Collection<MyType> getJobs(Object jobProcessor) {
    return jobProcessor.getJobs();
  }
 
The class imports MyType.
 
When I build the class with the maven-bundle-plugin the resulting
Manifest is not adding the MyTypes package
to its Import-Packages.
 
When I add 
 
 public Collection<MyType> getJobs(Object jobProcessor) {
   MyType mt = new MyType();
    return jobProcessor.getJobs();
  }
 
 then I have the package exporting MyType in the Manifest.
 
Is this a limitation of the maven-bundle-plugin or bnd or is there
another reason?
 
Thanx in advance for any help,
 
Michael
 

Reply via email to