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

Bug 318889

Summary: maven properties prevent mapping of maven artifact as IU
Product: [Technology] CBI Reporter: Lars Fischer <reschifl>
Component: CBI p2 Repository AggregatorAssignee: Filip Hrbek <filip.hrbek>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: filip.hrbek
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
local maven repository with an artifact using an unset property none

Description Lars Fischer CLA 2010-07-05 09:21:23 EDT
Using a maven repository in a b3aggr contribution, the resolved pom.xml files are used to fill the IU metadata.

The pom.xml files could have properties inside the configuration, which do not have to be explicit set. (e.g. "${project.artifactId}")
Also look at http://maven.apache.org/pom.html#Properties

Such a not resolvable property results in an infinite loop at POM#expandProperties.

The attached local maven repository contains an artifact which uses a not defined property. (com.ibykus.devtool.unittest)
Trying to use the extracted folder as maven mapped repository should reproduce the error.
Comment 1 Lars Fischer CLA 2010-07-05 09:22:36 EDT
Created attachment 173424 [details]
local maven repository with an artifact using an unset property
Comment 2 Filip Hrbek CLA 2010-07-22 10:56:16 EDT
Fixed and uploaded to http://download.eclipse.org/modeling/emft/b3/updates-3.7milestones
Comment 3 David Williams CLA 2016-09-16 15:57:17 EDT
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.
No change to assignee for resolved and verified bugs.]