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 199484 - org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for com.projectdarkstar:sgs:12 [ERROR] Unresolveable build extension: Plugin org.jv
Summary: org.apache.maven.model.building.ModelBuildingException: 1 problem was encount...
Status: CLOSED DUPLICATE of bug 197994
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 00:11 UTC by osmarjunior
Modified: 2013-06-27 12:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177246


Attachments
stacktrace (2.92 KB, text/plain)
2011-06-17 00:11 UTC, osmarjunior
Details

Note You need to log in before you can comment on or make changes to this bug.
Description osmarjunior 2011-06-17 00:11:09 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334
OS: Mac OS X

User Comments:
GUEST: attempting to open second maven based project.  I already identified this as a problem back in the RC 1 and was hoping you all would have fixed this.  It works fine in beta. Umh... I will probably revert back to using beta again... Its ashame Production release still has this problem...

osmarjunior: error when i try open a maven project.

GUEST: attempting to open new project in project group and nothing loads... very ANNOYING and makes Netbeans unusable!!!!!




Stacktrace: 
org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for com.projectdarkstar:sgs:12
[ERROR] Unresolveable build extension: Plugin org.jvnet.wagon-svn:wagon-svn:RELEASE or one of its dependencies could not be resolved: Failed to collect dependencies for org.jvnet.wagon-svn:wagon-svn:jar:RELEASE () @ 

   at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:422)
   at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:374)
   at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:365)
   at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
   at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:141)
   at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:285)
Comment 1 osmarjunior 2011-06-17 00:11:12 UTC
Created attachment 108940 [details]
stacktrace
Comment 2 Jesse Glick 2011-06-23 16:23:48 UTC
Reproduced in NB 7.0 opening https://svn.java.net/svn/project-snowman~svn/trunk in a fresh userdir, but fix of bug #197994 (in the forthcoming 7.0.1) seems to have worked.

(In reply to comment #0)
> I already identified this as a problem back in the RC 1
> and was hoping you all would have fixed this.

The exception reporter only files a bug report once several different users have encountered the problem; apparently this one is rare, or at least the exception aggregator did a poor job of finding duplicates.

Workaround is to correct the parent POMs to not use RELEASE as a plugin version, which is dangerous and which Maven 3 does not support <https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-PluginMetaversionResolution>, though in this case it would anyway be better to use the modern java.net repo <http://java.net/projects/maven2-repository/pages/MigrationAndCleanupRelatedDocumentation>.

*** This bug has been marked as a duplicate of bug 197994 ***