[
https://issues.apache.org/jira/browse/FELIX-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813887#comment-13813887
]
Konrad Windszus commented on FELIX-4303:
----------------------------------------
Thanks for that hint. It is still not quite clear how I can use Tycho for the
Maven classpaths and the maven-bundle-plugin for the generation of the
manifest. Could you please explain? Would I need to use the
tycho-compiler-plugin
(http://eclipse.org/tycho/sitedocs/tycho-compiler-plugin/plugin-info.html)?
What about m2e integration then?
> The OSGI manifest of bundle dependencies should be considered within the
> compile and test classpath
> ----------------------------------------------------------------------------------------------------
>
> Key: FELIX-4303
> URL: https://issues.apache.org/jira/browse/FELIX-4303
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.4.0
> Reporter: Konrad Windszus
>
> Currently it is no difference whether I include a dependency with type=jar or
> type=bundle. In both cases the JAR is added to the classpath and the OSGi
> manifest is not considered for the Maven compile and test classpath. Would it
> be possible to let Maven already consider the export-packages section of the
> manifest within its own classpaths?
> I don't know whether Maven already supports that because the
> org.apache.maven.artifact.handler.ArtifactHandler doesn't give you the
> possibility to define your own classloader.
--
This message was sent by Atlassian JIRA
(v6.1#6144)