Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1257

Also check for license headers in CSS/JS files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 8.4
    • None

    Description

      Currently we're missing CSS/JS files:

                  <includes>
                    <!-- At the moment, only check the following list of files for license headers -->
                    <include>pom.xml</include>
                    <include>src/**/*.java</include>
                    <include>src/**/*.bat</include>
                    <include>src/**/*.sh</include>
                    <include>src/**/ApplicationResources.properties</include>
                  </includes>
                  <excludes>
                    <!-- At the moment we don't have a comment syntax for components.txt files so we need to exclude them
                         from the check -->
                    <exclude>**/components.txt</exclude>
                    <exclude>**/component-overrides.txt</exclude>
                    <!-- Since there's no comment syntax for Maven IT tests's goal.txt file we need to exclude it -->
                    <exclude>**/it/**/goals.txt</exclude>
                    <exclude>**/goal.txt</exclude>
                  </excludes>
      

      Note that adding license headers to CSS/JS files is going to make them larger and thus we must make sure that those headers are stripped before packaging those files in XWiki distributions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: