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 209416 - 7.1 update -> maven does no longer compile nbm-maven-plugin
Summary: 7.1 update -> maven does no longer compile nbm-maven-plugin
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: PC Unix
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 21:17 UTC by Stmated
Modified: 2012-03-14 15:37 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 Stmated 2012-03-10 21:17:21 UTC
After executing update this week of NetBeans 7.1 (of build 201112071828), compiling of project with nbm-maven-plugin does no longer work. Error message being:

Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.7:manifest (default-manifest) on project creator: Execution default-manifest of goal org.codehaus.mojo:nbm-maven-plugin:3.7:manifest failed: For artifact {null:null:null:jar}: The groupId cannot be empty.

I tested both nbm-maven-plugin:3.5 and 3.7.

It still worked to compile with terminal. So I asked for solution on mailing list and got the advice of changing from the bundled maven to my external one. Bundled being version 3.0.4 and my external being 2.2.1.

It now works properly to compile again.
Comment 1 Milos Kleint 2012-03-12 15:21:53 UTC
could you check if the 3.0.4 works in external, cmd line setup? so that we know it's a maven 3.0.4 vs. nbm-maven-plugin issue or it's a problem in embedding.

also can you run the embedded build with debug messages on and attach the log to the issue?

thanks.
Comment 2 Jesse Glick 2012-03-14 15:37:33 UTC
Would need a test case to reproduce. Assuming the problem can be reproduced from the command line (which is very likely since NetBeans just forks a process to run Maven), should be filed upstream: https://jira.codehaus.org/browse/MNBMODULE