Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63059

Fix mvn clean install build command

XMLWordPrintable

      I always build Jenkins plug-ins with `mvn clean install` or `mvn clean install -DskipTests` when in a hurry.

      But at the moment I am getting some errors.

      [INFO] Rat check: Summary over all files. Unapproved: 3059, unknown: 3059, generated: 0, approved: 161 licenses.
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 49.954 s
      [INFO] Finished at: 2020-07-14T15:23:10+12:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default) on project machine-learning: Too many files with unapproved license: 3059 See RAT report in: /home/kinow/Development/java/jenkins/machine-learning-plugin/target/rat.txt -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      

            loghijiaha Loghi Perinpanayagam
            kinow Bruno P. Kinoshita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: