Community
Participate
Working Groups
Build Identifier: Tycho 0.12.0 I have a feature including bundles both from p2 and from Maven repositories. The target-platform-configuration plugin configuration includes <pomDependencies>consider</pomDependencies> Expected Result: The generated p2 repository contains all plugins included by the feature. Actual Result: The plugins not coming from p2 repositories are missing. This is a regression from Tycho 0.10.0. Reproducible: Always Steps to Reproduce: 1. Start with tycho-its/projects/TYCHO491PublishFeaturesAndCategories from the Tycho source tree. 2. Add a non-p2 plugin from Maven Central to example-feature/feature.xml: <plugin id="org.apache.servicemix.bundles.aopalliance" download-size="0" install-size="0" version="0.0.0"/> 3. Add the following section to the parent POM: <dependencies> <dependency> <groupId>org.apache.servicemix.bundles</groupId> <artifactId>org.apache.servicemix.bundles.aopalliance</artifactId> <version>1.0_5</version> </dependency> </dependencies> 4. Add the following entry to the target-platform-configuration plugin configuration in the parent POM: <pomDependencies>consider</pomDependencies> 5. Run cd tycho-its/projects/TYCHO491PublishFeaturesAndCategories mvn -Dtycho-version=0.12.0 install 6. Open eclipse-repository/target/repository/content.jar!content.xml. org.apache.servicemix.bundles.aopalliance is listed as part of the content, but it is not exported as artifact.
this should be fixed in 0.13.0-SNAPSHOT *** This bug has been marked as a duplicate of bug 342851 ***