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

Some RAT exclude rules defined in build.gradle are not defined in pom.xml

    Details

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

      Description

      I ran mvn apache-rat:check in accordance with "How to Contribute" wiki page and it failed:

      sekikn@ubuntu:~/bigtop$ mvn apache-rat:check
      
      (snip)
      
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.807 s
      [INFO] Finished at: 2016-08-09T00:49:39+09:00
      [INFO] Final Memory: 13M/305M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project bigtop: Too many unapproved licenses: 2 -> [Help 1]
      

      But Bigtop-trunk-RAT-check jenkins job is succeeding. This is because some exclude rules are not defined in pom.xml.

        Activity

        Hide
        cos Konstantin Boudnik added a comment -

        Damn, we need to finish this gradle transition as supporting two build systems start getting burdensome.
        +1 on the patch - will commit it in a bit.

        Show
        cos Konstantin Boudnik added a comment - Damn, we need to finish this gradle transition as supporting two build systems start getting burdensome. +1 on the patch - will commit it in a bit.
        Hide
        cos Konstantin Boudnik added a comment -

        Committed and pushed to the master. Thanks Kengo Seki!

        Show
        cos Konstantin Boudnik added a comment - Committed and pushed to the master. 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