Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Filtering out optional features

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

Back to the top