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 - NetBeans should use ProjectBuilder instead of deprecated MavenProjectBuilder
Summary: NetBeans should use ProjectBuilder instead of deprecated MavenProjectBuilder
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-27 13:20 UTC by terje7601
Modified: 2015-04-17 03:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
error (91.31 KB, image/png)
2014-11-27 13:20 UTC, terje7601
Details

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