Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9517

"Too many files with unapproved license" occurs when running mvn install

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 1.16.0
    • None
    • Tools and Build
    • None
    • os: windows 10
      java version: 1.8.0_311
      maven version: 3.8.4

    Description

      I ran  the flowing command to execute the full suite of tests at the root nifi folder:

      mvn -Pcontrib-check clean install 

      There was a built failure occurs with the following error message:

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  05:41 min
      [INFO] Finished at: 2021-12-24T16:20:24+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (default) on project nifi-framework: Too many files with unapproved license: 4 See RAT report in: D:\workspace\nifi_github\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\target\rat.txt -> [Help 1] 

      When I ran "mvn clean install" ,this kind of error disappeard.

      As the "mvn -Pcontrib-check clean install" is required to run when create a pr and I could not solve this problem so far, I create this issue to ask for help here. The related file are in the attachment.

      Tks.

      Attachments

        1. inputFiles.lst
          6 kB
          sunyd1224
        2. createdFiles.lst
          3 kB
          sunyd1224
        3. pom.properties
          0.1 kB
          sunyd1224
        4. .plxarc
          0.0 kB
          sunyd1224
        5. rat.txt
          21 kB
          sunyd1224

        Activity

          People

            Unassigned Unassigned
            sunyd1224 sunyd1224
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: