You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Konrad Windszus <ko...@netcentric.biz> on 2016/10/07 10:20:00 UTC

Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Currently the m2e-feature of the Sling IDE still requires the feature org.sonatype.tycho.m2e.feature (https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-feature/feature.xml#L229 <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
Since the latter seems rather unmaintained I would like to get rid of that dependency which was added in the context of https://issues.apache.org/jira/browse/SLING-3608 <https://issues.apache.org/jira/browse/SLING-3608>.

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 <https://issues.apache.org/jira/browse/FELIX-4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15192263>)

@Robert: Do you have any idea why this was initially added? SLING-3608 does not give much hints here. There should be no explicit runtime dependency to any tycho code IMHO.

Re: Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Posted by Konrad Windszus <ko...@gmx.de>.
Created https://issues.apache.org/jira/browse/SLING-6112 to track that.

> On 7 Oct 2016, at 14:16, Robert Munteanu <ro...@apache.org> wrote:
> 
> I would be happy to remove the link to tycho-m2e, given that newer
> plugin versions work without it and that we give users a fair warning
> when an unsupported plugin version is encountered.
> 
> Robert
> 
> On Fri, 2016-10-07 at 14:12 +0200, Konrad Windszus wrote:
>> Could it be that the part we are relying on is just this one: https:/
>> /github.com/tesla/m2eclipse-
>> tycho/blob/master/org.sonatype.tycho.m2e/lifecycle-mapping-
>> metadata.xml#L54? <https://github.com/tesla/m2eclipse-
>> tycho/blob/master/org.sonatype.tycho.m2e/lifecycle-mapping-
>> metadata.xml#L54?>
>> What about adding that to the Sling IDE?
>> 
>>> On 7 Oct 2016, at 14:03, Konrad Windszus <ko...@gmx.de> wrote:
>>> 
>>> Hi Robert,
>>> To be honest, I still don't quite get that. 
>>> The project configurators part should be part of m2e-ui (https://gi
>>> thub.com/apache/sling/tree/trunk/tooling/ide/eclipse-m2e-
>>> ui/src/org/apache/sling/ide/eclipse/m2e/internal).
>>> The (incremental) manifest generation is now being done through the
>>> maven-bundle-plugin since 3.2.0 natively (https://issues.apache.org
>>> /jira/browse/FELIX-4009). The same for the maven-scr-plugin
>>> (https://issues.apache.org/jira/browse/FELIX-3358).
>>> So which code part of m2e-tycho is really necessary here?
>>> 
>>> When looking through the code at https://github.com/tesla/m2eclipse
>>> -tycho/ it seems that really only
>>> https://github.com/tesla/m2eclipse-
>>> tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e
>>> /felix/internal/MavenBundlePluginConfigurator.java  might be
>>> relevant and there our own project configurator should be enough (h
>>> ttps://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-
>>> ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfi
>>> gurator.java).
>>> 
>>> If really both configurators are necessary to get things running we
>>> should try to figure out which part  of https://github.com/tesla/m2
>>> eclipse-
>>> tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e
>>> /felix/internal/MavenBundlePluginConfigurator.java  needs to be
>>> taken over to https://github.com/apache/sling/blob/trunk/tooling/id
>>> e/eclipse-m2e-
>>> ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfi
>>> gurator.java to make things work.
>>> 
>>> Do you by chance remember what exactly was not working when you
>>> didn't have the m2e-tycho plugin installed?
>>> Thanks,
>>> Konrad
>>> 
>>>> On 7 Oct 2016, at 13:43, Robert Munteanu <ro...@apache.org>
>>>> wrote:
>>>> 
>>>> Hi Konrad,
>>>> 
>>>> On Fri, 2016-10-07 at 12:20 +0200, Konrad Windszus wrote:
>>>>> Currently the m2e-feature of the Sling IDE still requires the
>>>>> feature
>>>>> org.sonatype.tycho.m2e.feature (https://github.com/apache/sling
>>>>> /blob/
>>>>> 4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-
>>>>> feature/feature.xml#L229
>>>>> <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13
>>>>> afd453
>>>>> a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
>>>>> Since the latter seems rather unmaintained I would like to get
>>>>> rid of
>>>>> that dependency which was added in the context of https://issue
>>>>> s.apac
>>>>> he.org/jira/browse/SLING-3608
>>>>> <https://issues.apache.org/jira/browse/SLING-3608>.
>>>>> 
>>>>> This is also important since newer versions of the maven-
>>>>> bundle-
>>>>> plugin conflict with that extension (https://issues.apache.org/
>>>>> jira/b
>>>>> rowse/FELIX-
>>>>> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.s
>>>>> ystem.
>>>>> issuetabpanels:comment-tabpanel#comment-15192263
>>>>> <https://issues.apache.org/jira/browse/FELIX-
>>>>> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.s
>>>>> ystem.
>>>>> issuetabpanels:comment-tabpanel#comment-15192263>)
>>>>> 
>>>>> @Robert: Do you have any idea why this was initially added?
>>>>> SLING-
>>>>> 3608 does not give much hints here. There should be no explicit
>>>>> runtime dependency to any tycho code IMHO.
>>>> 
>>>> 
>>>> The dependency is there to make sure that the OSGi metadata (
>>>> manifest,
>>>> SCR descriptors, etc ) is generated and put in the right
>>>> location.
>>>> 
>>>> Without the tycho-m2e feature things will be broken out of the
>>>> box.
>>>> 
>>>> So while there is no hard dependency, it is in my opinion
>>>> required, at
>>>> least for now.
>>>> 
>>>> How to gracefully accommodate the transition is another issue,
>>>> and I
>>>> don't have a good answer for that.
>>>> 
>>>> Robert
>>> 
>>> 
>> 
>> 
>> 
> 


Re: Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Posted by Robert Munteanu <ro...@apache.org>.
I would be happy to remove the link to tycho-m2e, given that newer
plugin versions work without it and that we give users a fair warning
when an unsupported plugin version is encountered.

Robert

On Fri, 2016-10-07 at 14:12 +0200, Konrad Windszus wrote:
> Could it be that the part we are relying on is just this one: https:/
> /github.com/tesla/m2eclipse-
> tycho/blob/master/org.sonatype.tycho.m2e/lifecycle-mapping-
> metadata.xml#L54? <https://github.com/tesla/m2eclipse-
> tycho/blob/master/org.sonatype.tycho.m2e/lifecycle-mapping-
> metadata.xml#L54?>
> What about adding that to the Sling IDE?
> 
> > On 7 Oct 2016, at 14:03, Konrad Windszus <ko...@gmx.de> wrote:
> > 
> > Hi Robert,
> > To be honest, I still don't quite get that.�
> > The project configurators part should be part of m2e-ui (https://gi
> > thub.com/apache/sling/tree/trunk/tooling/ide/eclipse-m2e-
> > ui/src/org/apache/sling/ide/eclipse/m2e/internal).
> > The (incremental) manifest generation is now being done through the
> > maven-bundle-plugin since 3.2.0 natively (https://issues.apache.org
> > /jira/browse/FELIX-4009). The same for the maven-scr-plugin
> > (https://issues.apache.org/jira/browse/FELIX-3358).
> > So which code part of m2e-tycho is really necessary here?
> > 
> > When looking through the code at https://github.com/tesla/m2eclipse
> > -tycho/ it seems that really only
> > https://github.com/tesla/m2eclipse-
> > tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e
> > /felix/internal/MavenBundlePluginConfigurator.java��might be
> > relevant and there our own project configurator should be enough (h
> > ttps://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-
> > ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfi
> > gurator.java).
> > 
> > If really both configurators are necessary to get things running we
> > should try to figure out which part��of https://github.com/tesla/m2
> > eclipse-
> > tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e
> > /felix/internal/MavenBundlePluginConfigurator.java��needs to be
> > taken over to https://github.com/apache/sling/blob/trunk/tooling/id
> > e/eclipse-m2e-
> > ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfi
> > gurator.java to make things work.
> > 
> > Do you by chance remember what exactly was not working when you
> > didn't have the m2e-tycho plugin installed?
> > Thanks,
> > Konrad
> > 
> > > On 7 Oct 2016, at 13:43, Robert Munteanu <ro...@apache.org>
> > > wrote:
> > > 
> > > Hi Konrad,
> > > 
> > > On Fri, 2016-10-07 at 12:20 +0200, Konrad Windszus wrote:
> > > > Currently the m2e-feature of the Sling IDE still requires the
> > > > feature
> > > > org.sonatype.tycho.m2e.feature (https://github.com/apache/sling
> > > > /blob/
> > > > 4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-
> > > > feature/feature.xml#L229
> > > > <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13
> > > > afd453
> > > > a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
> > > > Since the latter seems rather unmaintained I would like to get
> > > > rid of
> > > > that dependency which was added in the context of https://issue
> > > > s.apac
> > > > he.org/jira/browse/SLING-3608
> > > > <https://issues.apache.org/jira/browse/SLING-3608>.
> > > > 
> > > > This is also important since newer versions of the maven-
> > > > bundle-
> > > > plugin conflict with that extension (https://issues.apache.org/
> > > > jira/b
> > > > rowse/FELIX-
> > > > 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.s
> > > > ystem.
> > > > issuetabpanels:comment-tabpanel#comment-15192263
> > > > <https://issues.apache.org/jira/browse/FELIX-
> > > > 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.s
> > > > ystem.
> > > > issuetabpanels:comment-tabpanel#comment-15192263>)
> > > > 
> > > > @Robert: Do you have any idea why this was initially added?
> > > > SLING-
> > > > 3608 does not give much hints here. There should be no explicit
> > > > runtime dependency to any tycho code IMHO.
> > > 
> > > 
> > > The dependency is there to make sure that the OSGi metadata (
> > > manifest,
> > > SCR descriptors, etc ) is generated and put in the right
> > > location.
> > > 
> > > Without the tycho-m2e feature things will be broken out of the
> > > box.
> > > 
> > > So while there is no hard dependency, it is in my opinion
> > > required, at
> > > least for now.
> > > 
> > > How to gracefully accommodate the transition is another issue,
> > > and I
> > > don't have a good answer for that.
> > > 
> > > Robert
> > 
> > 
> 
> 
> 


Re: Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Posted by Konrad Windszus <ko...@gmx.de>.
Could it be that the part we are relying on is just this one: https://github.com/tesla/m2eclipse-tycho/blob/master/org.sonatype.tycho.m2e/lifecycle-mapping-metadata.xml#L54? <https://github.com/tesla/m2eclipse-tycho/blob/master/org.sonatype.tycho.m2e/lifecycle-mapping-metadata.xml#L54?>
What about adding that to the Sling IDE?

> On 7 Oct 2016, at 14:03, Konrad Windszus <ko...@gmx.de> wrote:
> 
> Hi Robert,
> To be honest, I still don't quite get that. 
> The project configurators part should be part of m2e-ui (https://github.com/apache/sling/tree/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/internal).
> The (incremental) manifest generation is now being done through the maven-bundle-plugin since 3.2.0 natively (https://issues.apache.org/jira/browse/FELIX-4009). The same for the maven-scr-plugin (https://issues.apache.org/jira/browse/FELIX-3358).
> So which code part of m2e-tycho is really necessary here?
> 
> When looking through the code at https://github.com/tesla/m2eclipse-tycho/ it seems that really only https://github.com/tesla/m2eclipse-tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e/felix/internal/MavenBundlePluginConfigurator.java  might be relevant and there our own project configurator should be enough (https://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfigurator.java).
> 
> If really both configurators are necessary to get things running we should try to figure out which part  of https://github.com/tesla/m2eclipse-tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e/felix/internal/MavenBundlePluginConfigurator.java  needs to be taken over to https://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfigurator.java to make things work.
> 
> Do you by chance remember what exactly was not working when you didn't have the m2e-tycho plugin installed?
> Thanks,
> Konrad
> 
>> On 7 Oct 2016, at 13:43, Robert Munteanu <ro...@apache.org> wrote:
>> 
>> Hi Konrad,
>> 
>> On Fri, 2016-10-07 at 12:20 +0200, Konrad Windszus wrote:
>>> Currently the m2e-feature of the Sling IDE still requires the feature
>>> org.sonatype.tycho.m2e.feature (https://github.com/apache/sling/blob/
>>> 4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-
>>> feature/feature.xml#L229
>>> <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453
>>> a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
>>> Since the latter seems rather unmaintained I would like to get rid of
>>> that dependency which was added in the context of https://issues.apac
>>> he.org/jira/browse/SLING-3608
>>> <https://issues.apache.org/jira/browse/SLING-3608>.
>>> 
>>> This is also important since newer versions of the maven-bundle-
>>> plugin conflict with that extension (https://issues.apache.org/jira/b
>>> rowse/FELIX-
>>> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.
>>> issuetabpanels:comment-tabpanel#comment-15192263
>>> <https://issues.apache.org/jira/browse/FELIX-
>>> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.
>>> issuetabpanels:comment-tabpanel#comment-15192263>)
>>> 
>>> @Robert: Do you have any idea why this was initially added? SLING-
>>> 3608 does not give much hints here. There should be no explicit
>>> runtime dependency to any tycho code IMHO.
>> 
>> The dependency is there to make sure that the OSGi metadata ( manifest,
>> SCR descriptors, etc ) is generated and put in the right location.
>> 
>> Without the tycho-m2e feature things will be broken out of the box.
>> 
>> So while there is no hard dependency, it is in my opinion required, at
>> least for now.
>> 
>> How to gracefully accommodate the transition is another issue, and I
>> don't have a good answer for that.
>> 
>> Robert
> 


Re: Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Posted by Robert Munteanu <ro...@apache.org>.

On Fri, 2016-10-07 at 14:03 +0200, Konrad Windszus wrote:
> Hi Robert,
> To be honest, I still don't quite get that.�
> The project configurators part should be part of m2e-ui (https://gith
> ub.com/apache/sling/tree/trunk/tooling/ide/eclipse-m2e-
> ui/src/org/apache/sling/ide/eclipse/m2e/internal).
> The (incremental) manifest generation is now being done through the
> maven-bundle-plugin since 3.2.0 natively (https://issues.apache.org/j
> ira/browse/FELIX-4009). The same for the maven-scr-plugin
> (https://issues.apache.org/jira/browse/FELIX-3358).
> So which code part of m2e-tycho is really necessary here?

m2e-tycho is IIRC only necessary for old versions of the maven plugins
that need a m2e configurator.

Robert

> 
> When looking through the code at https://github.com/tesla/m2eclipse-t
> ycho/ it seems that really only https://github.com/tesla/m2eclipse-
> tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e/f
> elix/internal/MavenBundlePluginConfigurator.java��might be relevant
> and there our own project configurator should be enough (https://gith
> ub.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-
> ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfigu
> rator.java).
> 
> If really both configurators are necessary to get things running we
> should try to figure out which part��of https://github.com/tesla/m2ec
> lipse-
> tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e/f
> elix/internal/MavenBundlePluginConfigurator.java��needs to be taken
> over to https://github.com/apache/sling/blob/trunk/tooling/ide/eclips
> e-m2e-
> ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfigu
> rator.java to make things work.
> 
> Do you by chance remember what exactly was not working when you
> didn't have the m2e-tycho plugin installed?
> Thanks,
> Konrad
> 
> > On 7 Oct 2016, at 13:43, Robert Munteanu <ro...@apache.org>
> > wrote:
> > 
> > Hi Konrad,
> > 
> > On Fri, 2016-10-07 at 12:20 +0200, Konrad Windszus wrote:
> > > Currently the m2e-feature of the Sling IDE still requires the
> > > feature
> > > org.sonatype.tycho.m2e.feature (https://github.com/apache/sling/b
> > > lob/
> > > 4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-
> > > feature/feature.xml#L229
> > > <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13af
> > > d453
> > > a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
> > > Since the latter seems rather unmaintained I would like to get
> > > rid of
> > > that dependency which was added in the context of https://issues.
> > > apac
> > > he.org/jira/browse/SLING-3608
> > > <https://issues.apache.org/jira/browse/SLING-3608>.
> > > 
> > > This is also important since newer versions of the maven-bundle-
> > > plugin conflict with that extension (https://issues.apache.org/ji
> > > ra/b
> > > rowse/FELIX-
> > > 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.sys
> > > tem.
> > > issuetabpanels:comment-tabpanel#comment-15192263
> > > <https://issues.apache.org/jira/browse/FELIX-
> > > 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.sys
> > > tem.
> > > issuetabpanels:comment-tabpanel#comment-15192263>)
> > > 
> > > @Robert: Do you have any idea why this was initially added?
> > > SLING-
> > > 3608 does not give much hints here. There should be no explicit
> > > runtime dependency to any tycho code IMHO.
> > 
> > 
> > The dependency is there to make sure that the OSGi metadata (
> > manifest,
> > SCR descriptors, etc ) is generated and put in the right location.
> > 
> > Without the tycho-m2e feature things will be broken out of the box.
> > 
> > So while there is no hard dependency, it is in my opinion required,
> > at
> > least for now.
> > 
> > How to gracefully accommodate the transition is another issue, and
> > I
> > don't have a good answer for that.
> > 
> > Robert
> 
> 
> 


Re: Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Posted by Konrad Windszus <ko...@gmx.de>.
Hi Robert,
To be honest, I still don't quite get that. 
The project configurators part should be part of m2e-ui (https://github.com/apache/sling/tree/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/internal).
The (incremental) manifest generation is now being done through the maven-bundle-plugin since 3.2.0 natively (https://issues.apache.org/jira/browse/FELIX-4009). The same for the maven-scr-plugin (https://issues.apache.org/jira/browse/FELIX-3358).
So which code part of m2e-tycho is really necessary here?

When looking through the code at https://github.com/tesla/m2eclipse-tycho/ it seems that really only https://github.com/tesla/m2eclipse-tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e/felix/internal/MavenBundlePluginConfigurator.java  might be relevant and there our own project configurator should be enough (https://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfigurator.java).

If really both configurators are necessary to get things running we should try to figure out which part  of https://github.com/tesla/m2eclipse-tycho/blob/master/org.sonatype.tycho.m2e/src/org/sonatype/tycho/m2e/felix/internal/MavenBundlePluginConfigurator.java  needs to be taken over to https://github.com/apache/sling/blob/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/internal/BundleProjectConfigurator.java to make things work.

Do you by chance remember what exactly was not working when you didn't have the m2e-tycho plugin installed?
Thanks,
Konrad

> On 7 Oct 2016, at 13:43, Robert Munteanu <ro...@apache.org> wrote:
> 
> Hi Konrad,
> 
> On Fri, 2016-10-07 at 12:20 +0200, Konrad Windszus wrote:
>> Currently the m2e-feature of the Sling IDE still requires the feature
>> org.sonatype.tycho.m2e.feature (https://github.com/apache/sling/blob/
>> 4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-
>> feature/feature.xml#L229
>> <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453
>> a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
>> Since the latter seems rather unmaintained I would like to get rid of
>> that dependency which was added in the context of https://issues.apac
>> he.org/jira/browse/SLING-3608
>> <https://issues.apache.org/jira/browse/SLING-3608>.
>> 
>> This is also important since newer versions of the maven-bundle-
>> plugin conflict with that extension (https://issues.apache.org/jira/b
>> rowse/FELIX-
>> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.
>> issuetabpanels:comment-tabpanel#comment-15192263
>> <https://issues.apache.org/jira/browse/FELIX-
>> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.
>> issuetabpanels:comment-tabpanel#comment-15192263>)
>> 
>> @Robert: Do you have any idea why this was initially added? SLING-
>> 3608 does not give much hints here. There should be no explicit
>> runtime dependency to any tycho code IMHO.
> 
> The dependency is there to make sure that the OSGi metadata ( manifest,
> SCR descriptors, etc ) is generated and put in the right location.
> 
> Without the tycho-m2e feature things will be broken out of the box.
> 
> So while there is no hard dependency, it is in my opinion required, at
> least for now.
> 
> How to gracefully accommodate the transition is another issue, and I
> don't have a good answer for that.
> 
> Robert


Re: Sling IDE: Dependency from m2e-feature to org.sonatype.tycho.m2e.feature

Posted by Robert Munteanu <ro...@apache.org>.
Hi Konrad,

On Fri, 2016-10-07 at 12:20 +0200, Konrad Windszus wrote:
> Currently the m2e-feature of the Sling IDE still requires the feature
> org.sonatype.tycho.m2e.feature (https://github.com/apache/sling/blob/
> 4df9ab2d6592422889c71fa13afd453a10a5a626/tooling/ide/m2e-
> feature/feature.xml#L229
> <https://github.com/apache/sling/blob/4df9ab2d6592422889c71fa13afd453
> a10a5a626/tooling/ide/m2e-feature/feature.xml#L229>)
> Since the latter seems rather unmaintained I would like to get rid of
> that dependency which was added in the context of https://issues.apac
> he.org/jira/browse/SLING-3608
> <https://issues.apache.org/jira/browse/SLING-3608>.
> 
> This is also important since newer versions of the maven-bundle-
> plugin conflict with that extension (https://issues.apache.org/jira/b
> rowse/FELIX-
> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.
> issuetabpanels:comment-tabpanel#comment-15192263
> <https://issues.apache.org/jira/browse/FELIX-
> 4009?focusedCommentId=15192263&page=com.atlassian.jira.plugin.system.
> issuetabpanels:comment-tabpanel#comment-15192263>)
> 
> @Robert: Do you have any idea why this was initially added? SLING-
> 3608 does not give much hints here. There should be no explicit
> runtime dependency to any tycho code IMHO.

The dependency is there to make sure that the OSGi metadata ( manifest,
SCR descriptors, etc ) is generated and put in the right location.

Without the tycho-m2e feature things will be broken out of the box.

So while there is no hard dependency, it is in my opinion required, at
least for now.

How to gracefully accommodate the transition is another issue, and I
don't have a good answer for that.

Robert