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 229354 - "MNBMODULE-131: need to at least run package phase" warning when running pristine Maven-based platform application
Summary: "MNBMODULE-131: need to at least run package phase" warning when running pris...
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Milos Kleint
Depends on:
Reported: 2013-05-04 20:58 UTC by ebakke
Modified: 2013-05-05 18:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Output when running a pristine platform application project (13.18 KB, text/plain)
2013-05-04 20:58 UTC, ebakke

Note You need to log in before you can comment on or make changes to this bug.
Description ebakke 2013-05-04 20:58:36 UTC
Created attachment 134108 [details]
Output when running a pristine platform application project

My IDE version is a development version, 201304242301.

To reproduce:
1) Create a new Maven-based NetBeans Application project. This creates a
branding module, an application module, and a parent module. Verify that
Compile on Save is supported and enabled in all of these projects
(Properties->Build->Compile->Compile On Save).
2) Clean and build the parent project and run the application project once to
ensure that everything works fine at this point.
3) Clean and build the parent module again.
5) Run the application project. The warning "MNBMODULE-131: need to at least run package phase on .../branding/target/classes" will be displayed in the console (full output attached). In applications with multiple modules, one warning is shown for each module.

This warning is clearly referencing the Maven issue at, but I don't quite know how they're related. Quoting Milos Kleint on the platform-dev mailing list on 2013-04-26, "please file an issue and attach a debug output and I'll try to evaluate.. a sample project showing the problem would also help."
Comment 1 ebakke 2013-05-04 21:01:42 UTC
Also note that the warning disappears if Compile on Save is disabled for the module(s) in question.
Comment 2 Milos Kleint 2013-05-05 06:03:36 UTC
can you try with nbm-maven-plugin 3.10? I've released the new version a few days ago. I believe it fixes this issue.
Comment 3 ebakke 2013-05-05 15:42:52 UTC
Ah, yes, using 3.10 removed the warning. Feel free to close the bug.
Comment 4 Milos Kleint 2013-05-05 18:33:43 UTC
cool, closing as fixed, likely a duplicate of issue