[ https://issues.apache.org/jira/browse/FELIX-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588995#action_12588995 ]
James Rowe commented on FELIX-532: ---------------------------------- Sorry, I admit that I was trusting eclipse PDE too much for feedback. Some context: we are currently in the process of migrating our server-side modules to OSGi step-by-step. The first step for us was to add bundle directives to our manifests for all our server-side modules and to use the PDE target platform and plugin dependencies for classpath management during development. However, right now we're still running the server on a vanilla JVM (i.e. no OSGi). > 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.