Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-3483

windows compile error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • None
    • admin
    • None

    Description

      I use windows10 and idea to compile ranger and report an error。And a box pops up, and the compilation fails after clicking

       

       

      The execution command is:

      mvn clean compile package install -DskipTests
      

       

      error message is

      [INFO] 寮?濮嬫鏌モ?︹??
      妫?鏌ュ畬鎴愩??
      [INFO]
      [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ unixauthclient ---
      [INFO] Installing E:\workspace\open_source\ranger\unixauthclient\target\unixauthclient-2.1.1-SNAPSHOT.jar to C:\Users\chenchao4\.m2\repository\org\apache\ranger\unixauthclient\2.1.1-SNAPSHOT\unixauthcli
      ent-2.1.1-SNAPSHOT.jar
      [INFO] Installing E:\workspace\open_source\ranger\unixauthclient\pom.xml to C:\Users\chenchao4\.m2\repository\org\apache\ranger\unixauthclient\2.1.1-SNAPSHOT\unixauthclient-2.1.1-SNAPSHOT.pom
      [INFO]
      [INFO] ----------------< org.apache.ranger:security-admin-web >----------------
      [INFO] Building Security Admin Web Application 2.1.1-SNAPSHOT           [23/60]
      [INFO] --------------------------------[ war ]---------------------------------
      Downloading from apache.snapshots: https://repository.apache.org/snapshots/com/google/code/findbugs/jsr305/maven-metadata.xml
      Downloading from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/google/code/findbugs/jsr305/maven-metadata.xml
      Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/com/google/code/findbugs/jsr305/maven-metadata.xml
      Downloading from apache.public.https: https://repository.apache.org/content/repositories/public/com/google/code/findbugs/jsr305/maven-metadata.xml
      [WARNING] Could not validate integrity of download from http://maven.aliyun.com/nexus/content/groups/public/com/google/code/findbugs/jsr305/maven-metadata.xml
      org.eclipse.aether.transfer.ChecksumFailureException: Checksum validation failed, no checksums available
          at org.eclipse.aether.internal.impl.AbstractChecksumPolicy.onNoMoreChecksums (AbstractChecksumPolicy.java:64)
          at org.eclipse.aether.connector.basic.ChecksumValidator.validate (ChecksumValidator.java:107)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask (BasicRepositoryConnector.java:460)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run (BasicRepositoryConnector.java:364)
          at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (RunnableErrorForwarder.java:75)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute (BasicRepositoryConnector.java:628)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get (BasicRepositoryConnector.java:235)
          at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run (DefaultMetadataResolver.java:573)
          at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run (RunnableErrorForwarder.java:75)
          at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
          at java.lang.Thread.run (Thread.java:745)
      [WARNING] Checksum validation failed, no checksums available from alimaven for http://maven.aliyun.com/nexus/content/groups/public/com/google/code/findbugs/jsr305/maven-metadata.xml
      Downloaded from alimaven: http://maven.aliyun.com/nexus/content/groups/public/com/google/code/findbugs/jsr305/maven-metadata.xml (462 B at 515 B/s)
      [INFO]
      [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ security-admin-web ---
      [INFO] Deleting E:\workspace\open_source\ranger\security-admin\target
      [INFO]
      [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ security-admin-web ---
      [INFO]
      [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ security-admin-web ---
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-js-test-resources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO]
      [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ security-admin-web ---
      [INFO] artifact com.google.code.findbugs:jsr305: checking for updates from apache.snapshots.https
      [INFO] artifact com.google.code.findbugs:jsr305: checking for updates from apache.public.https
      [INFO] artifact com.google.code.findbugs:jsr305: checking for updates from alimaven
      [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for com/google/code/findbugs/jsr305/maven-metadata.xml - IGNORING
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 22 resources
      [INFO] Copying 3 resources
      [INFO]
      [INFO] --- maven-antrun-plugin:1.7:run (default) @ security-admin-web ---
      [INFO] Executing tasks
      
      main:
      [INFO] Executed tasks
      [INFO]
      [INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ security-admin-web ---
      [INFO] Installing node version v8.12.0
      [INFO] Copying node binary from C:\Users\chenchao4\.m2\repository\com\github\eirslett\node\8.12.0\node-8.12.0-win-x64.exe to E:\workspace\open_source\ranger\security-admin\target\node\node.exe
      [INFO] Installed node locally.
      [INFO] Installing npm version 6.4.1
      [INFO] Unpacking C:\Users\chenchao4\.m2\repository\com\github\eirslett\npm\6.4.1\npm-6.4.1.tar.gz into E:\workspace\open_source\ranger\security-admin\target\node\node_modules
      [INFO] Installed npm locally.
      [INFO]
      [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ security-admin-web ---
      [INFO] Compiling 484 source files to E:\workspace\open_source\ranger\security-admin\target\classes
      [INFO]
      [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ security-admin-web ---
      [INFO]
      [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ security-admin-web ---
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-js-test-resources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO]
      [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ security-admin-web ---
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 22 resources
      [INFO] Copying 3 resources
      [INFO] Copying 3 resources
      [INFO]
      [INFO] --- maven-antrun-plugin:1.7:run (default) @ security-admin-web ---
      [INFO] Executing tasks
      
      main:
      [INFO] Executed tasks
      [INFO]
      [INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ security-admin-web ---
      [INFO] Node v8.12.0 is already installed.
      [INFO] NPM 6.4.1 is already installed.
      [INFO]
      [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ security-admin-web ---
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ security-admin-web ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 7 resources
      [INFO] Copying 3 resources
      [INFO] Copying 3 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ security-admin-web ---
      [INFO] Compiling 58 source files to E:\workspace\open_source\ranger\security-admin\target\test-classes
      [INFO]
      [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ security-admin-web ---
      [INFO] Tests are skipped.
      [INFO]
      [INFO] --- frontend-maven-plugin:1.6:npm (npm install for tests) @ security-admin-web ---
      [INFO] Skipping execution.
      [INFO]
      [INFO] --- frontend-maven-plugin:1.6:karma (karma dev) @ security-admin-web ---
      [INFO] Skipping execution.
      [INFO]
      [INFO] --- maven-war-plugin:2.6:exploded (prepare) @ security-admin-web ---
      [INFO] Exploding webapp
      [INFO] Assembling webapp [security-admin-web] in [E:\workspace\open_source\ranger\security-admin\target\security-admin-web-2.1.1-SNAPSHOT]
      [INFO] Processing war project
      [INFO] Copying webapp resources [E:\workspace\open_source\ranger\security-admin\src\main\webapp]
      [INFO] Webapp assembled in [7692 msecs]
      [INFO]
      [INFO] --- replacer:1.5.3:replace (default) @ security-admin-web ---
      [INFO] Replacement run on 2 files.
      [INFO]
      [INFO] --- frontend-maven-plugin:1.6:npm (npm install for packaging) @ security-admin-web ---
      [INFO] Running 'npm install' in E:\workspace\open_source\ranger\security-admin\target\jsmain
      [WARNING] npm WARN security-admin@2.0.0 No description
      [WARNING] npm WARN security-admin@2.0.0 No repository field.
      [WARNING] npm WARN security-admin@2.0.0 No license field.
      [ERROR]
      [INFO] added 1 package from 1 contributor and audited 1 package in 1.136s
      [INFO] found 0 vulnerabilities
      [INFO]
      [INFO]
      [INFO] --- frontend-maven-plugin:1.6:npm (npm run r.js) @ security-admin-web ---
      [INFO] Running 'npm run r.js -- -o ../security-admin-web-2.1.1-SNAPSHOT/minify.build.js' in E:\workspace\open_source\ranger\security-admin\target\jsmain
      [INFO]
      [INFO] > security-admin@2.0.0 r.js E:\workspace\open_source\ranger\security-admin\target\jsmain
      [INFO] > r.js "-o" "../security-admin-web-2.1.1-SNAPSHOT/minify.build.js"
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for ranger 2.1.1-SNAPSHOT:
      [INFO]
      [INFO] ranger ............................................. SUCCESS [ 38.356 s]
      [INFO] Jdbc SQL Connector ................................. SUCCESS [  4.459 s]
      [INFO] Credential Support ................................. SUCCESS [  7.763 s]
      [INFO] Audit Component .................................... SUCCESS [ 10.975 s]
      [INFO] ranger-plugin-classloader .......................... SUCCESS [  2.625 s]
      [INFO] Common library for Plugins ......................... SUCCESS [ 15.799 s]
      [INFO] ranger-intg ........................................ SUCCESS [  7.866 s]
      [INFO] Installer Support Component ........................ SUCCESS [  1.861 s]
      [INFO] Credential Builder ................................. SUCCESS [  4.326 s]
      [INFO] Embedded Web Server Invoker ........................ SUCCESS [  5.724 s]
      [INFO] Ke终止批处理操作吗(Y/N)? y
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            waywtdcc waywtdcc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: