Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-75

Change com.google.code.maven-license-plugin legal plugin to not be inherited

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.1
    • Build
    • None
    • Patch Available

    Description

      This JIRA is for changing the main pom.xml:

                  <plugin>
                      <groupId>com.google.code.maven-license-plugin</groupId>
                      <artifactId>maven-license-plugin</artifactId>
      +                <inherited>false</inherited>
                      <configuration>
      -                    <header>${module.relative.path}src/etc/header.txt</header>
      +                    <header>src/etc/header.txt</header>
                          <quiet>false</quiet>
                          <failIfMissing>true</failIfMissing>
                          <aggregate>true</aggregate>
                          <includes>
      -                        <include>src/**</include>
      +                        <include>**/src/**</include>
                              <include>**/test/**</include>
                          </includes>
                          <excludes>
      

      Random testing (removing license info on files in submodules) seemed to show this plugin working still. This will enable modules to be more easily created/moved around if necessary.

      I think it's still a good idea to run the license plugin on mvn install in the default profile to give a heads up before a bad build.

      Attachments

        1. WINK-75.patch
          8 kB
          Jason Dillon

        Activity

          People

            bluk Bryant Luk
            bluk Bryant Luk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: