[ https://issues.apache.org/jira/browse/FELIX-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart McCulloch resolved FELIX-532. ------------------------------------ Resolution: Invalid I'm going to mark this issue as resolved for now because the Bnd tool is working as designed, and the generated bundle will work on OSGi platforms - it's really a bug in Eclipse/PDE that needs the unnecessary import. FYI, the issue when using PDE is probably related to this long-running bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=122915 > Package inheritance dependencies are not imported when maven-compiler-plugin > is defined in build > ------------------------------------------------------------------------------------------------ > > Key: FELIX-532 > URL: https://issues.apache.org/jira/browse/FELIX-532 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-1.4.0 > Environment: JDK 1.5.0_14 on Windows XP > Reporter: James Rowe > Assignee: Stuart McCulloch > Priority: Minor > Attachments: package-inheritance-test.zip > > > When maven-compiler-plugin is explicitly added to the build, inheritance > dependencies are not resolved. For example, the attached test case uses > org.springframework.jdbc.core.JdbcTemplate, which extends > org.springframework.jdbc.support.JdbcAccessor (note the superclass lives in a > different package). The method we invoke is defined on JdbcAccessor, hence > the inheritance dependency. When the compiler plugin is included in the > build, the bundle plugin fails to import the inherited > org.springframework.jdbc.support package dependency. When the compiler > plugin is taken out of the build, the bundle plugin correctly imports it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.