You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by U Gopalakrishnan <ug...@in.ibm.com> on 2008/07/09 19:49:05 UTC

classpathentry missing in .classpath when dependent jar is a OSGi bundle

Hello,

I am trying to build maven bundle with maven-bundle-plugin with 
Eclipse/PDE integration following the approach given at 
http://felix.apache.org/site/maven-bundle-plugin-bnd.html. The bundle has 
a dependency on another jar which is an OSGi bundle jar. 'mvn install' is 
building the bundle successfully but the .classpath file generated by 'mvn 
eclipse:eclipse -Declipse.pde' is missing library entry for the dependent 
bundle jar and hence the project doesn't build in PDE. There is a 
maven-eclipse-plugin defect has been reported on issue at 
http://jira.codehaus.org/browse/MECLIPSE-459 but no solution yet. Has 
anybody here seen this problem or has any suggestion for a workaround?

Thanks
Gopal