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

Follow the instructions step, maven build fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 1.2.0
    • 1.2.0
    • Tools and Build
    • None
    • windows7,centos6

    Description

      When i execute “mvn -T 2.0C clean install ” or "mvn clean install" to compile nifi source, The following error occurred. How can i fix it?
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.0:ins
      tall-node-and-npm (install-node-and-npm) on project nifi-web-ui: Could not extra
      ct the npm archive: Could not extract archive: 'F:\maven\com\github\eirslett\npm
      \1.3.8\npm-1.3.8.tar.gz': EOFException -> [Help 1]

      The detail error:
      [ERROR] No goals have been specified for this build. You must specify a valid li
      fecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id
      >:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are
      : validate, initialize, generate-sources, process-sources, generate-resources, p
      rocess-resources, compile, process-classes, generate-test-sources, process-test-
      sources, generate-test-resources, process-test-resources, test-compile, process-
      test-classes, test, prepare-package, package, pre-integration-test, integration-
      test, post-integration-test, verify, install, deploy, pre-clean, clean, post-cle
      an, pre-site, site, post-site, site-deploy. -> [Help 1]
      org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specifie
      d for this build. You must specify a valid lifecycle phase or a goal in the form
      at <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-ver
      sion>]:<goal>. Available lifecycle phases are: validate, initialize, generate-so
      urces, process-sources, generate-resources, process-resources, compile, process-
      classes, generate-test-sources, process-test-sources, generate-test-resources, p
      rocess-test-resources, test-compile, process-test-classes, test, prepare-package
      , package, pre-integration-test, integration-test, post-integration-test, verify
      , install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site
      -deploy.
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
      eStarter.java:90)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
      cher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
      a:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
      uncher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
      356)
      [ERROR]
      [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 rea
      d the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifie
      dException

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhengsg shuguo zheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: