Uploaded image for project: 'Apache Maven Resource Bundles'
  1. Apache Maven Resource Bundles
  2. MASFRES-5

Support additional boilerplate in NOTICE file

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            olamy Olivier Lamy
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: