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 - Maven project with import scope not supported
Summary: Maven project with import scope not supported
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: UI, USABILITY
Depends on:
Blocks:
 
Reported: 2011-10-20 06:08 UTC by be999156
Modified: 2011-10-20 16:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A test POM (1.16 KB, text/xml)
2011-10-20 16:34 UTC, Jesse Glick
Details

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