[ https://issues.apache.org/jira/browse/MASFRES-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698582#comment-14698582 ]
Sean Busbey commented on MASFRES-5: ----------------------------------- you can already do this by placing a NOTICE file in the src/main/appended-resources directory. specifically, in src/main/appended-resources/META-INF/NOTICE. If you make it NOTICE.vm then it will also be a velocity template. in either case it will be appended to the contents of the NOTICE from the resource bundle. > Support additional boilerplate in NOTICE file > --------------------------------------------- > > Key: MASFRES-5 > URL: https://issues.apache.org/jira/browse/MASFRES-5 > Project: Apache Maven Resource Bundles > Issue Type: Improvement > Components: apache-jar-resource-bundle, > apache-jar-txt-resource-bundle > Affects Versions: apache-jar-resource-bundle-1.4 > 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 was sent by Atlassian JIRA (v6.3.4#6332)