[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Filtering out optional features
|
Just giving this a slight bump, has no one had a use case for optionally including features in a product build...possibly based on a profile.
Would it be normal to just have different products with different feature sets?
Neil
On Apr 22, 2014 11:01 AM, "Neil Corbet" <
neil.corbet@xxxxxxxxx> wrote:
Hello Everyone,
I have a product that is based on Feature A. Inside Feature A is FeatureX. Feature X is listed as optional.
I have included in the pom of FeatureA:
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependency-resolution>
<optionalDependencies>ignore</optionalDependencies>
</dependency-resolution>
</configuration>
</plugin>
</plugins>
But, FeatureX is still included in the final product. Is there a way to include/exclude optional features or does this only work on the plugin level.
Thanks,
Neil