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 180280 - Maven Netbeans Module project is created as <badly formed>
Summary: Maven Netbeans Module project is created as <badly formed>
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P1 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 07:19 UTC by Jaroslav Pospisil
Modified: 2010-03-25 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2010-02-04 07:19:36 UTC
Build 201002040200,JDK1.6.0_18,Win Vista
Start IDE with new userdir and create new Maven Netbeans Module.Project is created as <Badly formed Maven project> with this explanation in tooltip:

Missing Extension or Plugin with Extension
Missing Extension or Plugin with Extension
The Extension or Plugin with Extensions with coordinates org.codehaus.mojo:nbm-maven-plugin:3.2-SNAPSHOT was not found in the following remote repositories:
      netbeans.snapshot  (http://bits.netbeans.org/netbeans/trunk/maven-snapshot)
      netbeans  (http://bits.netbeans.org/maven2)
      central  (http://repo1.maven.org/maven2)

 Therefore the construction of the Maven Project instance could not complete. Please fix your project. Possible causes of the problem and solutions are described on a Wiki page,  click the Open Wiki Page button to reach that page.
Comment 1 Jaroslav Pospisil 2010-02-04 07:32:28 UTC
The same result I get when creating Maven Netbeans Module with OSGI and for all submodules od Maven Netbeans Application.
Comment 2 Milos Kleint 2010-02-05 02:49:23 UTC
http://fisheye.codehaus.org/changelog/mojo/?cs=11804
it seems we need to define both <pluginRepository> and <repository> entry for the codehaus snapshot repo to be able to find the nbm-maven-plugin snapshot.
That's a pity and a consequence of usign the old embedder we are using. 

new archetype snapshots are deployed.
Comment 3 Jaroslav Pospisil 2010-03-25 14:27:39 UTC
v.