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 151838 - "Badly formed Maven project" error showing when importing a correct maven project
Summary: "Badly formed Maven project" error showing when importing a correct maven pro...
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-30 11:14 UTC by sfermigier
Modified: 2009-05-14 10:45 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 sfermigier 2008-10-30 11:14:13 UTC
My project compiles perfectly manually.

In Netbeans, I get the following error when importing my project:

"Cannot resolve pre-scanned plugin artifact (for use as an extension): org.codehaus.mojo:jboss-packaging-maven-plugin:
Failed to resolve extension plugin: org.codehaus.mojo:jboss-packaging-maven-plugin:maven-plugin:2.0-NXEP51M2"

This extension plugin of course exists in my Maven local repository.

macbooksf% ls
/Users/fermigier/.m2/repository/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-NXEP51M2/jboss-packaging-maven-plugin-2.0-NXEP51M2.*
/Users/fermigier/.m2/repository/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-NXEP51M2/jboss-packaging-maven-plugin-2.0-NXEP51M2.jar
/Users/fermigier/.m2/repository/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-NXEP51M2/jboss-packaging-maven-plugin-2.0-NXEP51M2.jar.sha1
/Users/fermigier/.m2/repository/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-NXEP51M2/jboss-packaging-maven-plugin-2.0-NXEP51M2.pom
/Users/fermigier/.m2/repository/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-NXEP51M2/jboss-packaging-maven-plugin-2.0-NXEP51M2.pom.sha1
Comment 1 Milos Kleint 2008-10-30 13:51:56 UTC
bug in maven embedder codebase (external binary)
Comment 2 Milos Kleint 2008-10-31 14:48:28 UTC
possibly duplicate of #135043
Comment 3 sfermigier 2009-01-12 09:01:57 UTC
7.0M1 still has the issue.
Comment 4 Milos Kleint 2009-01-12 09:05:13 UTC
yes, we cannot currently update to a newer maven-embedder binary, the 3.0.x branch of maven needs to stabilize first. We
currently have the latest of 2.1-SNAPSHOT before it undertook a major refactoring and was renamed to 3.0-SNAPSHOT.
Comment 5 Milos Kleint 2009-04-20 09:37:52 UTC
do you have a sample project that would demonstrate the problem?

I have at least partially fixed the problem in http://hg.netbeans.org/main/rev/ea8f38edda64 changeset (not in 6.7 beta,
only in upcoming daily trunk builds) and I'd like to verify that the problem disappeared for you as well.
Comment 6 Jaroslav Pospisil 2009-05-14 10:45:51 UTC
Too long time without user feedback. Many fixes in this area was introduced lately, so considered fixed. Feel free to
reopen, if reproducible again.