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 248947

Summary: NetBeans should use ProjectBuilder instead of deprecated MavenProjectBuilder
Product: projects Reporter: terje7601
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: error

Description terje7601 2014-11-27 13:20:25 UTC
Created attachment 150744 [details]
error

For the dependency:
<dependency>
  <groupId>org.glassfish.jersey.test-framework.providers</groupId>
  <artifactId>jersey-test-framework-provider-jetty</artifactId>
  <version>2.13</version>
  <scope>test</scope>
</dependency>

When I do right-click -> "View Artifact Details", I get an error (see attachment).

The error message says there can be many reasons for the failure, but I noticed in the stack trace that NetBeans uses deprecated Maven classes. So even if it isn't NetBeans, I think this should be fixed.

PS: I saw in the NetBeans code ( http://hg.netbeans.org/main-golden/file/4fefcedaef32/maven.repository/src/org/netbeans/modules/maven/repository/ui/ArtifactMultiViewFactory.java#l227 ) that there's already a TODO for it ;)
Comment 1 Tomas Stupka 2015-04-16 16:39:53 UTC
fixed in jet-main #36398982a406
Comment 2 Quality Engineering 2015-04-17 03:02:40 UTC
Integrated into 'main-silver', will be available in build *201504170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/36398982a406
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #248947 - NetBeans should use ProjectBuilder instead of deprecated MavenProjectBuilder