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 - Specifying a license file for a module
Summary: Specifying a license file for a module
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-20 08:42 UTC by mienamoo
Modified: 2012-09-03 08:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.