Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Auto Closed
-
apache-jar-resource-bundle-1.4
-
None
-
None
Description
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.