On Tue, 07 Jun 2011 14:58:46 -0400
Farrukh Najmi <[email protected]> wrote:

> 
> Thanks for a great license-maven-plugin. I am using it to insert
> license headers in each files in source tree successfully.
> Here is an example of what it generates:
> 
> /*
>   * #%L
>   * my-unqualified-package-name
>   * %%
>   * Copyright (C) 2007 - 2011 My Company
>   * %%
>   * This software is the property of My Company. Etc. Etc.
>   *
>   * #L%
>   */
> 
> I would like to include the name of the file instead of the name of
> my unqualified package name. Is this possible?
No this is not possible at the moment :( The model of a header is not
modifiable.

If you really need this feature, feel free to create the jira ticket ;)
It would be not too complex I think to be able to use a template for
description section...

> Also what do % directives do? In case it is relevant, Please note
> that I am not using svn and use hg and git for my projects.
The %% delimits the header sections : 

There is 3 sections : description, copyright, license as explained in
the documentation [1].

Hope it helps.

[1] http://mojo.codehaus.org/license-maven-plugin/header.html

-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
email: [email protected]
http://www.codelutin.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to