Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351018

Summary: eclipse-repository does not include POM-first dependencies
Product: z_Archived Reporter: Harald Wellmann <hwellmann.de>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: jan.sievers
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Harald Wellmann CLA 2011-07-03 07:04:53 EDT
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.
Comment 1 Jan Sievers CLA 2011-07-04 08:50:50 EDT
this should be fixed in 0.13.0-SNAPSHOT

*** This bug has been marked as a duplicate of bug 342851 ***