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 252361 - NetBeans cannot load project which uses a Maven "bill of materials" BOM
Summary: NetBeans cannot load project which uses a Maven "bill of materials" BOM
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2015-05-12 13:52 UTC by InfoSec812
Modified: 2015-05-12 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Example POM showing use of BOM (5.76 KB, text/xml)
2015-05-12 13:52 UTC, InfoSec812

Note You need to log in before you can comment on or make changes to this bug.
Description InfoSec812 2015-05-12 13:52:21 UTC
Created attachment 153617 [details]
Example POM showing use of BOM

I have a POM with a dependencyManagement section which "imports" a Bill-of-materials. According to Maven docs, when you use such a BOM, you do not need to specify versions for dependencies which are covered by the BOM. When I attempt to do this in NetBeans, if fails to parse/load the POM. See attached POM file for an example that works with Maven from the CLI, but not from NetBeans.
Comment 1 InfoSec812 2015-05-12 14:43:47 UTC
Doh! I had a typo in my POM file... My bad!

The problem was that the "version" of the BOM had a typo in it.