This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 167711

Summary: parent pom recommendation light bulb is recommending old parent pom version
Product: projects Reporter: coding <coding>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description coding 2009-06-26 16:53:11 UTC
I'm using either my own personal parent pom 1.18 or 1.19 but the light bulb in Netbeans is recommending that I use
version 1.12-SNAPSHOT. There might be a bug in the recommendation engine that doesn't understand the meaning of -SNAPSHOT.
Comment 1 Milos Kleint 2009-06-29 09:19:18 UTC
http://hg.netbeans.org/main/rev/6e67e17fa6b2

the problem was with parent declarations that didn't have the parent pom in default relative path (../pom.xml) but
didn't use the relativePath element to denote where the parent is in sources (doesn't have to be at all)
Comment 2 Quality Engineering 2009-06-29 17:43:05 UTC
Integrated into 'main-golden', will be available in build *200906291400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6e67e17fa6b2
User: Milos Kleint <mkleint@netbeans.org>
Log: #167711 check the coordinates to filter out parents in non-default locations without the relativePath set
Comment 3 Jaroslav Pospisil 2009-07-02 13:21:56 UTC
v.
Comment 4 pgebauer 2009-07-09 17:15:35 UTC
The fix has been ported into the release67_fixes repository.
http://hg.netbeans.org/release67_fixes/rev/68e77cd6bd21