Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] How to exclude an optional transitive feature/plugin from a product?

Hi,

I am using Tycho to build a custom Eclipse product. So I have a feature that references all other features I want to have included (jdt, m2e, svn, jboss-tools, ...). But some features have dependencies on other features that are optional and that I don't need.
Is it possible to exclude transitive dependencies with Tycho (like it is possible to exclude transitive dependencies with Maven)?

For example my main feature declares a dependency on Spring IDE:

(feature.xml)
   <requires>
[...]
      <import feature="org.springframework.ide.eclipse.feature" version="2.7.2.201109122348-RELEASE"/>


In the feature.xml of org.springframework.ide.eclipse.feature there is:
   <includes
         id="org.springframework.ide.eclipse.uaa.feature"
         version="2.8.0.201110170010-RELEASE"
         optional="true"/>

But when I build my product the org.springframework.ide.eclipse.uaa.feature is included and I can't find a way to exclude it.

Any idea?

Thanks,

Julien



Back to the top