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 214487

Summary: Specifying a license file for a module
Product: apisupport Reporter: mienamoo
Component: MavenAssignee: Milos Kleint <mkleint>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description mienamoo 2012-06-20 08:42:33 UTC
I don't see any way to specify a license file for a Maven-based module from the IDE. For Ant-based projects, this option is available under the Build > Packaging tab of the module project's properties. But no equivalent tab exists for Maven-based projects. Would it be possible to add this feature to the GUI?
Comment 1 Milos Kleint 2012-06-20 08:46:49 UTC
no ui currently, but possible in multiple ways, see

http://blogs.codehaus.org/people/mkleint/2010/03/license-headers-in-maven-proje.html
Comment 2 mienamoo 2012-06-20 08:55:06 UTC
The info from the blog post is for the license header that is added to generated source code, right? The license that I am looking for is the one that will be displayed when the module is installed.
Comment 3 Milos Kleint 2012-06-20 09:03:31 UTC
I see, sorry for misunderstanding
Comment 4 mienamoo 2012-06-20 09:05:19 UTC
No worries. I should have been more specific in the original report. :)
Comment 5 Milos Kleint 2012-09-03 08:47:25 UTC
typically it's not a requirement to have equal UI for ant and maven based projects.. patches welcome though.

The biggest challenge with editing maven projects in customizer is to handle values inherited from parents gratefully.