maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MPOM-3) Support additional boilerplate in NOTICE file
Date Sat, 04 Jun 2011 21:44:47 GMT

     [ https://issues.apache.org/jira/browse/MPOM-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benson Margulies updated MPOM-3:
--------------------------------

    Component/s: asf

> Support additional boilerplate in NOTICE file
> ---------------------------------------------
>
>                 Key: MPOM-3
>                 URL: https://issues.apache.org/jira/browse/MPOM-3
>             Project: Maven POM
>          Issue Type: Improvement
>          Components: asf
>            Reporter: Olivier Lamy
>
> The pom includes using the maven-remote-resources-plugin to get the resourceBundle org.apache:apache-jar-resource-bundle:1.4
which has the "Standard" LICENSE, NOTICE, and DEPENDENCIES .vm files.
> The DEPENDENCIES.vm file has already the function at the end to add user-defined boilerplate:
> #if($postDepListText)
> $postDepListText
> #end
> It would be very useful to us to have similar code at the end of the NOTICE.vm file:
> #if($project.properties.postNoticeText)
> $project.properties.postNoticeText
> #end
> The use case is we have many files which have the same copyright notice moved to the
NOTICES file, and would like to automatically have this included. By doing this, we can define
a common parent-pom for these files, which defines the postNoticeText property, and have it
included.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message