[
https://issues.apache.org/jira/browse/SLING-6112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15564681#comment-15564681
]
Konrad Windszus edited comment on SLING-6112 at 10/11/16 6:58 AM:
------------------------------------------------------------------
This is indeed expected. With m-b-p 3.2.0 it only works if explicitly
configured
(http://felix.apache.org/documentation/faqs/apache-felix-bundle-plugin-faq.html#use-scr-metadata-generated-by-bnd-in-unit-tests).
For me it is important that m2e-tycho is not necessarily required for Sling IDE
(so the project configurator runs without it), but rather a helpful addition
when using m-b-p < 3.2.0 for the incremental build, therefore you can always
install the extension through Maven Discovery. Also if you use
https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin it should
work without any problems.
We can think about providing an additional warning in case when a configuration
is detected which does not automatically generate the MANIFEST.MF, but this is
probably a bit tricky to do correctly.
was (Author: kwin):
This is indeed expected. With m-b-p 3.2.0 it only works if explicitly
configured
(http://felix.apache.org/documentation/faqs/apache-felix-bundle-plugin-faq.html#use-scr-metadata-generated-by-bnd-in-unit-tests).
For me it is important that m2e-tycho is not necessarily required for Sling IDE
(but rather maybe a helpful addition when using m-b-p < 3.2.0, therefore you
can always install the extension through Maven Discovery). Also if you use
https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin it should
work without any problems.
We can think about providing an additional warning in case when a configuration
is detected which does not automatically generate the MANIFEST.MF, but this is
probably a bit tricky to do correctly.
> Make Sling IDE independent of m2e-tycho
> ---------------------------------------
>
> Key: SLING-6112
> URL: https://issues.apache.org/jira/browse/SLING-6112
> Project: Sling
> Issue Type: Improvement
> Components: Tooling
> Affects Versions: Sling Eclipse IDE 1.1.0
> Reporter: Konrad Windszus
> Assignee: Robert Munteanu
> Fix For: Sling Eclipse IDE 1.1.2
>
> Attachments: SLING-6112-v01.patch, SLING-6112-v02.patch
>
>
> Currently Sling IDE requires the installation of m2e-tycho. This was being
> added in https://issues.apache.org/jira/browse/SLING-3608. Now that the
> maven-bundle-plugin ships with m2e support OOTB (FELIX-4009) we should get
> rid of that dependency.
> This is also important since newer versions of the maven-bundle-plugin
> conflict with that extension
> (https://issues.apache.org/jira/browse/FELIX-4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15192263).
> See also the discussion at
> http://www.mail-archive.com/[email protected]/msg60112.html.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)