Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
NBM Maven Plugin 4.5
Description
The nbmBuildIDir parameter is used both in nbm and cluster targets. However the meaning in those two contexts are different:
1) nbm: output directory where the NBMs will be created from the Jars and other meta data
2) cluster: directory where to copy the NBMS to from the hardcoded $(based}/nbm/netbeans
This is usually not a problem as long a you work with netbeans, but it becomes if you want to use the targets with other projects such as VisualVM.
By looking at the code, this seems more a like bug. What the cluster target should actually do is look for the NBMs, not in the hard coded location, but in the one provided by nbmBuildDir and use clusterBuildDir instead to define the target cluster location build. This very same parameter will be reused by the run-ide target.
Attachments
Issue Links
- links to