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.
I want to use my branded icon 'cut_pressed.gif'. It is renamed to 'cut_brandingToken_pressed.gif' in branding jar file during compilation. When loaded later by org.openide.util.ImageUtilities#getIcon(String, boolean) the icon is searched this way: 'cut_pressed_brandingToken.gif' so it is not loaded properly. I think that problem is while searching for first underscore in filename in org.codehaus.mojo.nbm.BrandingMojo#destinationFileName(String), it should notice only underscore followed by locale.
http://fisheye.codehaus.org/changelog/mojo/?cs=17811 fixed, according to how ant based support handles the paths. 3.10-SNAPSHOT of the nbm-maven-plugin uploaded to the snapshot repository at https://nexus.codehaus.org/content/repositories/snapshots/ next time please file issues against the nbm maven plugin at jira.codehaus.org/browse/MNBMODULE, thanks.