davisford
16 years ago
Hi, I downloaded NB 6.5.1 for the mac, and installed the maven plugin. Then I created a new project of type Maven -> Netbeans Platform Application. I filled in the information, and it created the project.
The pom parent project appears fine in the IDE, but all the maven sub-project modules indicate: Badly formed Maven Project. If I click show problems I get:
Error reading project model
Cannot resolve pre-scanned plugin artifact (for use as an extension): org.codehaus.mojo:nbm-maven-plugin: Failed to resolve extension plugin: org.codehaus.mojo:nbm-maven-plugin:maven-plugin:RELEASE
This is a bit strange, b/c if I go to the command line and run mvn install on the top level, it builds successfully.
Is there a workaround for this?
On the command line I'm using:
zeno-mbp:$ mvn -version
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "mac os x" version: "10.5.6" arch: "x86_64" Family: "mac"
The pom parent project appears fine in the IDE, but all the maven sub-project modules indicate: Badly formed Maven Project. If I click show problems I get:
Error reading project model
Cannot resolve pre-scanned plugin artifact (for use as an extension): org.codehaus.mojo:nbm-maven-plugin: Failed to resolve extension plugin: org.codehaus.mojo:nbm-maven-plugin:maven-plugin:RELEASE
This is a bit strange, b/c if I go to the command line and run mvn install on the top level, it builds successfully.
Is there a workaround for this?
On the command line I'm using:
zeno-mbp:$ mvn -version
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "mac os x" version: "10.5.6" arch: "x86_64" Family: "mac"