Issue Type: Bug Bug
Affects Versions: 1.3
Assignee: Unassigned
Attachments: LicenseHeaderFile.diff
Created: 22/Jan/13 12:23 AM
Description:

First off, I really like this Maven plugin. It does just what I need it to do. Thank you for working on it.

My project uses a modified BSD 2 license and I would like the generated shell and bat scripts to include that license. I used the <licenseHeaderFile> with the assemble goal and saw that my license was included in the generated scripts. However, when I use <licenseHeaderFile> with the generate-daemons goal, the default Apache license is included.

I looked around in the code and I think the LicenseHeaderFile is not taken into consideration in the mergeDameons() method of the DefaultDaemonMerger class.

Am I correct in thinking that this is a defect? Or is this the expected functionality?

At any rate, I attached a couple of changes (and a unit test) that appear to produce the expected result.

Thanks,

Dave

Environment: $ mvn --version
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /Users/david/tools/apache-maven
Java version: 1.6.0_37, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
Project: Mojo AppAssembler Plugin
Priority: Major Major
Reporter: David Whitlock
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to