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 203988

Summary: Maven project with import scope not supported
Product: projects Reporter: be999156
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED WORKSFORME    
Severity: normal CC: mmirilovic
Priority: P2 Keywords: UI, USABILITY
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: A test POM

Description be999156 2011-10-20 06:08:37 UTC
Can't load maven project with the following dependency:
            <dependency>
                <groupId>org.richfaces</groupId>
                <artifactId>richfaces-bom</artifactId>
                <version>${org.richfaces.bom.version}</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency> 

It keeps giving the following error:
1 problem was encountered while building the effective model for be.cin.nippin:root:1.0.0-SNAPSHOT
[ERROR] Non-resolvable import POM: The repository system is offline but the artifact org.richfaces:richfaces-bom:pom:4.0.0.Final is not available in the local repository. @ line 585, column 25
 for project be.cin.nippin:root:1.0.0-SNAPSHOT at D:\projects\NIPPIN\sources\pom.xml

While the file is in the local repository and the build works.
Comment 1 Jesse Glick 2011-10-20 16:34:54 UTC
Created attachment 112276 [details]
A test POM
Comment 2 Jesse Glick 2011-10-20 16:36:58 UTC
I am able to open and work with a project using the attached POM in a 7.1 dev build; no problems once the imported POM has been downloaded. If you continue to have issues, please provide a complete, minimal, self-contained test case, including sample projects, settings.xml configuration, etc.