Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2542

Some files related to docker provisioner breaks RAT

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: build
    • Labels:
      None

      Description

      $ mvn apache-rat:check
      
      (snip)
      
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3.675 s
      [INFO] Finished at: 2016-09-29T11:57:43+09:00
      [INFO] Final Memory: 20M/687M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project bigtop: Too many unapproved licenses: 4 -> [Help 1]
      
      $ cat target/rat.txt 
      
      *****************************************************
      Summary
      -------
      Notes: 80
      Binaries: 5
      Archives: 0
      Standards: 1160
      
      Apache Licensed: 1156
      Generated Documents: 0
      
      JavaDocs are generated and so license header is optional
      Generated files do not required license headers
      
      4 Unknown Licenses
      
      *******************************
      
      Unapproved licenses:
      
        provisioner/docker/docker-compose.yml
        provisioner/docker/config/hiera.yaml
        provisioner/docker/config/hieradata/PLACEHOLDER
        provisioner/docker/config/hosts
      
      *******************************
      
      1. BIGTOP-2542.1.patch
        3 kB
        Kengo Seki
      2. BIGTOP-2542.2.patch
        4 kB
        Kengo Seki

        Activity

        Hide
        sekikn Kengo Seki added a comment -

        Attaching a patch. Added the license to docker-compose.yml, and added exclude rules to pom.xml and build.gradle for placeholders. Confirmed that mvn apache-rat:check and ./gradlew rat succeeds as expected.

        Show
        sekikn Kengo Seki added a comment - Attaching a patch. Added the license to docker-compose.yml, and added exclude rules to pom.xml and build.gradle for placeholders. Confirmed that mvn apache-rat:check and ./gradlew rat succeeds as expected.
        Hide
        sekikn Kengo Seki added a comment -

        Patch rebased.

        Show
        sekikn Kengo Seki added a comment - Patch rebased.
        Hide
        cos Konstantin Boudnik added a comment -

        +1
        Committed and pushed, thanks Kengo Seki

        Show
        cos Konstantin Boudnik added a comment - +1 Committed and pushed, thanks Kengo Seki

          People

          • Assignee:
            sekikn Kengo Seki
            Reporter:
            sekikn Kengo Seki
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development