Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351018 - eclipse-repository does not include POM-first dependencies
Summary: eclipse-repository does not include POM-first dependencies
Status: CLOSED DUPLICATE of bug 342851
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-03 07:04 EDT by Harald Wellmann CLA
Modified: 2021-04-28 16:55 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***