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 197831 - org.apache.maven.artifact.InvalidRepositoryException: Repository identifier missing
Summary: org.apache.maven.artifact.InvalidRepositoryException: Repository identifier m...
Status: RESOLVED FIXED
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-04-18 08:28 UTC by J Bachorik
Modified: 2011-04-21 04:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178393


Attachments
stacktrace (1.64 KB, text/plain)
2011-04-18 08:28 UTC, J Bachorik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J Bachorik 2011-04-18 08:28:50 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b09, Java(TM) SE Runtime Environment, 1.6.0_26-ea-b01
OS: Linux

User Comments:
yardus: defining a repository in POM




Stacktrace: 
org.apache.maven.artifact.InvalidRepositoryException: Repository identifier missing
   at org.apache.maven.repository.legacy.LegacyRepositorySystem.buildArtifactRepository(LegacyRepositorySystem.java:768)
   at org.netbeans.modules.maven.embedder.NBRepositoryModelResolver.addRepository(NBRepositoryModelResolver.java:90)
   at org.apache.maven.model.building.DefaultModelBuilder.configureResolver(DefaultModelBuilder.java:567)
   at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:306)
   at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232)
   at org.netbeans.modules.maven.embedder.EmbedderFactory.createModelLineage(EmbedderFactory.java:377)
Comment 1 J Bachorik 2011-04-18 08:28:54 UTC
Created attachment 107807 [details]
stacktrace
Comment 2 Jesse Glick 2011-04-19 21:29:17 UTC
Reproducible; just add <repositories><repository><url>http://nowhere.net/</url></repository></repositories> to a POM and save.
Comment 3 Jesse Glick 2011-04-19 21:43:42 UTC
core-main #0c7bea8d0da5
Comment 4 Quality Engineering 2011-04-21 04:56:13 UTC
Integrated into 'main-golden', will be available in build *201104210000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0c7bea8d0da5
User: Jesse Glick <jglick@netbeans.org>
Log: #197831: org.apache.maven.artifact.InvalidRepositoryException: Repository identifier missing