Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25758

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.7.6
    • None
    • ambari-web
    • None

    Description

      Hi,
      i tried compile your source code on FreeBSD and I have issue with code.

      FreeBSD 13.1-RELEASE-p1 FreeBSD 13.1-RELEASE-p1 GENERIC amd64
      java -version
      openjdk version "1.8.0_332"
      OpenJDK Runtime Environment (build 1.8.0_332-b09)
      OpenJDK 64-Bit Server VM (build 25.332-b09, mixed mode)

      INFO] --- frontend-maven-plugin:1.4:yarn (yarn install) @ ambari-web ---
      [INFO] Running 'yarn install --ignore-engines --pure-lockfile' in /media/ST3000DM007-1WY10G_ZTT0SM4Q_p1/code/FreeBSD-Ports/ambari/work/apache-ambari-2.7.6-src/ambari-web
      [INFO] yarn install v0.23.2
      [ERROR] warning Ambari@2.4.0: No license field
      [INFO] [1/4] Resolving packages...
      [INFO] [2/4] Fetching packages...
      [ERROR] warning fsevents@0.3.8: The platform "linux" is incompatible with this module.
      [INFO] info "fsevents@0.3.8" is an optional dependency and failed compatibility check. Excluding it from installation.
      [ERROR] warning fsevents@1.1.1: The platform "linux" is incompatible with this module.
      [INFO] info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
      [INFO] [3/4] Linking dependencies...
      [INFO] [4/4] Building fresh packages...
      [INFO] Done in 14.38s.
      [INFO] 
      [INFO] --- exec-maven-plugin:1.2.1:exec (Brunch build) @ ambari-web ---
      15 Oct 13:16:12 - error: { [Error: watch app ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch app',
        filename: 'app' }
      15 Oct 13:16:12 - error: { [Error: watch test ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch test',
        filename: 'test' }
      15 Oct 13:16:12 - error: { [Error: watch vendor ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch vendor',
        filename: 'vendor' }
      15 Oct 13:16:12 - error: { [Error: watch package.json ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch package.json',
        filename: 'package.json' }
      15 Oct 13:16:12 - error: { [Error: watch brunch-config.js ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch brunch-config.js',
        filename: 'brunch-config.js' }
      15 Oct 13:16:12 - error: { [Error: watch app/assets ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch app/assets',
        filename: 'app/assets' }
      15 Oct 13:16:12 - error: { [Error: watch app/controllers ENOSYS]
        code: 'ENOSYS',
        errno: 'ENOSYS',
        syscall: 'watch app/controllers',
        filename: 'app/controllers' }
      15 Oct 13:16:12 - error: { [Error: watch app/data 
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Ambari Main 2.7.6.0.0 .............................. SUCCESS [12:15 min]
      [INFO] Apache Ambari Project POM 2.7.6.0.0 ................ SUCCESS [  0.034 s]
      [INFO] Ambari Web 2.7.6.0.0 ............................... FAILURE [04:12 min]
      [INFO] Ambari Views 2.7.6.0.0 ............................. SKIPPED
      [INFO] Ambari Admin View 2.7.6.0.0 ........................ SKIPPED
      [INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SKIPPED
      [INFO] ambari-metrics 2.7.6.0.0 ........................... SKIPPED
      [INFO] Ambari Metrics Common 2.7.6.0.0 .................... SKIPPED
      [INFO] Ambari Metrics Hadoop Sink 2.7.6.0.0 ............... SKIPPED
      [INFO] Ambari Metrics Flume Sink 2.7.6.0.0 ................ SKIPPED
      [INFO] Ambari Metrics Kafka Sink 2.7.6.0.0 ................ SKIPPED
      [INFO] Ambari Metrics Storm Sink 2.7.6.0.0 ................ SKIPPED
      [INFO] Ambari Metrics Storm Sink (Legacy) 2.7.6.0.0 ....... SKIPPED
      [INFO] Ambari Metrics Collector 2.7.6.0.0 ................. SKIPPED
      [INFO] Ambari Metrics Monitor 2.7.6.0.0 ................... SKIPPED
      [INFO] Ambari Metrics Grafana 2.7.6.0.0 ................... SKIPPED
      [INFO] Ambari Metrics Host Aggregator 2.7.6.0.0 ........... SKIPPED
      [INFO] Ambari Metrics Assembly 2.7.6.0.0 .................. SKIPPED
      [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SKIPPED
      [INFO] Ambari Server 2.7.6.0.0 ............................ SKIPPED
      [INFO] Ambari Functional Tests 2.7.6.0.0 .................. SKIPPED
      [INFO] Ambari Agent 2.7.6.0.0 ............................. SKIPPED
      [INFO] ambari-logsearch 2.7.6.0.0 ......................... SKIPPED
      [INFO] Ambari Logsearch Appender 2.7.6.0.0 ................ SKIPPED
      [INFO] Ambari Logsearch Config Api 2.7.6.0.0 .............. SKIPPED
      [INFO] Ambari Logsearch Config JSON 2.7.6.0.0 ............. SKIPPED
      [INFO] Ambari Logsearch Config Solr 2.7.6.0.0 ............. SKIPPED
      [INFO] Ambari Logsearch Config Zookeeper 2.7.6.0.0 ........ SKIPPED
      [INFO] Ambari Logsearch Config Local 2.7.6.0.0 ............ SKIPPED
      [INFO] Ambari Logsearch Log Feeder Plugin Api 2.7.6.0.0 ... SKIPPED
      [INFO] Ambari Logsearch Log Feeder Container Registry 2.7.6.0.0 SKIPPED
      [INFO] Ambari Logsearch Log Feeder 2.7.6.0.0 .............. SKIPPED
      [INFO] Ambari Logsearch Web 2.7.6.0.0 ..................... SKIPPED
      [INFO] Ambari Logsearch Server 2.7.6.0.0 .................. SKIPPED
      [INFO] Ambari Logsearch Assembly 2.7.6.0.0 ................ SKIPPED
      [INFO] Ambari Logsearch Integration Test 2.7.6.0.0 ........ SKIPPED
      [INFO] ambari-infra 2.7.6.0.0 ............................. SKIPPED
      [INFO] Ambari Infra Solr Client 2.7.6.0.0 ................. SKIPPED
      [INFO] Ambari Infra Solr Plugin 2.7.6.0.0 ................. SKIPPED
      [INFO] Ambari Infra Manager 2.7.6.0.0 ..................... SKIPPED
      [INFO] Ambari Infra Assembly 2.7.6.0.0 .................... SKIPPED
      [INFO] Ambari Infra Manager Integration Tests 2.7.6.0.0 ... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  34:26 min
      [INFO] Finished at: 2022-10-15T14:39:24+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (Brunch build) on project ambari-web: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :ambari-web
      
      

      Attachments

        1. succeed.png
          95 kB
          Charming Wu

        Activity

          People

            Unassigned Unassigned
            maxfx Martin Filla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: