我下载了egeria 1.0 tar.gz,并将其解压缩。我使用maven 3.6进行构建,但始终显示
无法在项目上执行目标org.codehaus.mojo:exec-maven-plugin:1.6.0:exec(聚合物生成)。
请帮助我!
这是我的构建日志的一部分。
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ access-services-user-interface ---
[INFO] Node v10.12.0 is already installed.
[INFO] NPM 6.4.1 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (install polymer-cli) @ access-services-user-interface ---
[INFO] Running 'npm install polymer-cli --prefix .' in /home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools
[WARNING] npm WARN tools@1.0.0 No description
[WARNING] npm WARN tools@1.0.0 No repository field.
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
[ERROR]
[INFO] + polymer-cli@1.9.11
[INFO] updated 67 packages and audited 24592 packages in 16.676s
[INFO] found 17 vulnerabilities (11 low, 6 high)
[INFO] run `npm audit fix` to fix them, or `npm audit` for details
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ access-services-user-interface ---
[INFO] Running 'npm install ../src/main/static --prefix .' in /home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools
[WARNING] npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
[WARNING] npm WARN sinon-chai@2.14.0 requires a peer of sinon@^1.4.0 || ^2.1.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
[WARNING] npm WARN tools@1.0.0 No description
[WARNING] npm WARN tools@1.0.0 No repository field.
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
[ERROR]
[INFO] + egeria-ui@0.0.1
[INFO] updated 1 package and audited 24592 packages in 15.277s
[INFO] found 17 vulnerabilities (11 low, 6 high)
[INFO] run `npm audit fix` to fix them, or `npm audit` for details
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.2:prepare-agent (agent) @ access-services-user-interface ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/admin/software/OdpiEgeria1.0src/egeria-1.0/target/jacoco.exec,append=true
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:exec (Polymer build) @ access-services-user-interface ---
info: Clearing build/ directory...
info: (dev) Building...
error: Promise rejection: Error: 'usageStatistics' is not exported by file:///home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/src/main/static/node_modules/%40vaadin/vaadin-usage-statistics/vaadin-usage-statistics.js
error: Error: 'usageStatistics' is not exported by file:///home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/src/main/static/node_modules/%40vaadin/vaadin-usage-statistics/vaadin-usage-statistics.js
at error (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:9402:30)
at Module.error (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:13341:9)
at handleMissingExport (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:13263:21)
at Module.traceVariable (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:13650:17)
at ModuleScope.findVariable (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:12361:39)
at FunctionScope.findVariable (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:2964:38)
at ChildScope.findVariable (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:2964:38)
at Identifier$1.bind (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:8321:40)
at IfStatement.bind (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:7952:23)
at IfStatement.bind (/home/admin/software/OdpiEgeria1.0src/egeria-1.0/open-metadata-implementation/user-interfaces/access-services-user-interface/tools/node_modules/polymer-cli/node_modules/rollup/dist/rollup.js:10861:15)
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Egeria 1.1-SNAPSHOT:
[INFO]
[INFO] Egeria ............................................. SUCCESS [ 2.460 s]
.......
[INFO] Open Metadata User Interfaces ...................... SUCCESS [ 1.143 s]
[INFO] Access Services User Interface ..................... FAILURE [ 59.774 s]
[INFO] Server Configuration User Interface ................ SKIPPED
[INFO] Open Metadata Conformance Suite .................... SKIPPED
[INFO] Open Metadata Distribution Files ................... SKIPPED
[INFO] Open Metadata Packages ............................. SKIPPED
[INFO] Open Metadata Client Package ....................... SKIPPED
[INFO] Open Metadata Native Package ....................... SKIPPED
[INFO] Open Metadata Caller Package ....................... SKIPPED
[INFO] Open Metadata Adapter Package ...................... SKIPPED
[INFO] Open Metadata Assemblies ........................... SKIPPED
[INFO] Open Metadata Publication Processes ................ SKIPPED
[INFO] Egeria Website ..................................... SKIPPED
[INFO] Open Metadata Resources ............................ SKIPPED
[INFO] Open Metadata Samples .............................. SKIPPED
[INFO] Access Services Samples ............................ SKIPPED
[INFO] Governance Program OMAS Client Samples ............. SKIPPED
[INFO] Subject Area OMAS Samples .......................... SKIPPED
[INFO] Open Metadata Demos ................................ SKIPPED
[INFO] Virtual Data Connector (VDC) Demo .................. SKIPPED
[INFO] IGC Repository Proxy ............................... SKIPPED
[INFO] Virtualizer ........................................ SKIPPED
[INFO] Cohort demo using the in Memory repository ......... SKIPPED
[INFO] Open Metadata Tutorials ............................ SKIPPED
[INFO] Open Metadata Deployment ........................... SKIPPED
[INFO] Open Metadata Test Resources ....................... SKIPPED
[INFO] Open Metadata Access Service FVT Resources ......... SKIPPED
[INFO] Open Metadata Test Resources ....................... SKIPPED
[INFO] Asset Consumer OMAS FVT ............................ SKIPPED
[INFO] Subject Area OMAS FVT .............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:58 min
[INFO] Finished at: 2019-08-13T22:55:20+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (Polymer build) on project access-services-user-interface: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (Polymer build) on project access-services-user-interface: Command execution failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed.
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:326)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)
at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[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 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 <goals> -rf :access-services-user-interface