Support additional boilerplate in NOTICE file
---------------------------------------------

                 Key: MNG-4711
                 URL: http://jira.codehaus.org/browse/MNG-4711
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Apache or Maven Parent poms
         Environment: org/apache/apache.jar.resource.bundle/1.4, 
org/apache/apache/7/apache-7.pom
            Reporter: Marshall Schor
            Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to