[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[winery-dev] Error while winery build
|
Hi,
Recently I started looking into TOSCA and came across Eclipse Winery.
I got code from https://github.com/eclipse/winery
I am using Ubuntu 16.04, Node, npm, Java, maven is installed already.
After I run "mvn clean install" from inside project root directory i.e
winery-master I get following error
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @
org.eclipse.winery.topologymodeler.ui ---
[INFO] No primary artifact to install, installing attached artifacts
instead.
[INFO] Installing
/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler.ui/pom.xml
to
/home/ecode/.m2/repository/org/eclipse/winery/org.eclipse.winery.topologymodeler.ui/2.0.0-SNAPSHOT/org.eclipse.winery.topologymodeler.ui-2.0.0-SNAPSHOT.pom
[INFO] Installing
/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler.ui/target/topologymodeler-ui.war
to
/home/ecode/.m2/repository/org/eclipse/winery/org.eclipse.winery.topologymodeler.ui/2.0.0-SNAPSHOT/org.eclipse.winery.topologymodeler.ui-2.0.0-SNAPSHOT.war
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building org.eclipse.winery.topologymodeler 2.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
org.eclipse.winery.topologymodeler ---
[INFO] Deleting
/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @
org.eclipse.winery.topologymodeler ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @
org.eclipse.winery.topologymodeler ---
[INFO] argLine set to
-javaagent:/home/ecode/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler/target/jacoco.exec
[INFO]
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node
and npm) @ org.eclipse.winery.topologymodeler ---
[INFO] Node v8.11.4 is already installed.
[INFO] NPM 6.4.1 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install bower) @
org.eclipse.winery.topologymodeler ---
[INFO] Running 'npm install bower' in
/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler
[WARNING] npm WARN deprecated bower@1.8.4: We don't recommend using
Bower for new projects. Please consider Yarn and Webpack or Parcel. You
can read how to migrate legacy project here:
https://bower.io/blog/2017/how-to-migrate-away-from-bower/
[WARNING] npm WARN ecode No description
[WARNING] npm WARN ecode No repository field.
[WARNING] npm WARN ecode No license field.
[ERROR]
[INFO] + bower@1.8.4
[INFO] updated 1 package and audited 1 package in 10.72s
[INFO] found 0 vulnerabilities
[INFO]
[INFO]
[INFO] --- frontend-maven-plugin:1.6:bower (run bower) @
org.eclipse.winery.topologymodeler ---
[INFO] Running 'bower install' in
/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler
[ERROR] module.js:549
[ERROR] throw err;
[ERROR] ^
[ERROR]
[ERROR] Error: Cannot find module
'/home/ecode/Documents/winery-master/org.eclipse.winery.topologymodeler/node_modules/bower/bin/bower'
[ERROR] at Function.Module._resolveFilename (module.js:547:15)
[ERROR] at Function.Module._load (module.js:474:25)
[ERROR] at Function.Module.runMain (module.js:693:10)
[ERROR] at startup (bootstrap_node.js:191:16)
[ERROR] at bootstrap_node.js:612:3
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Winery ............................................. SUCCESS [
6.797 s]
[INFO] org.eclipse.winery.model.bpmn4tosca ................ SUCCESS [
20.813 s]
[INFO] org.eclipse.winery.model.csar.toscametafile ........ SUCCESS [
2.197 s]
[INFO] org.eclipse.winery.model.selfservice ............... SUCCESS [
2.900 s]
[INFO] org.eclipse.winery.model.tosca ..................... SUCCESS [
5.641 s]
[INFO] org.eclipse.winery.model.tosca.yaml ................ SUCCESS [
3.513 s]
[INFO] org.eclipse.winery.common .......................... SUCCESS [
5.723 s]
[INFO] org.eclipse.winery.accountability .................. SUCCESS [
13.360 s]
[INFO] org.eclipse.winery.repository.configuration ........ SUCCESS [
1.217 s]
[INFO] org.eclipse.winery.repository ...................... SUCCESS
[01:56 min]
[INFO] org.eclipse.winery.yaml.common ..................... SUCCESS [
14.506 s]
[INFO] org.eclipse.winery.yaml.converter .................. SUCCESS [
2.473 s]
[INFO] org.eclipse.winery.tools.copybaragenerator ......... SUCCESS [
5.439 s]
[INFO] org.eclipse.winery.cli ............................. SUCCESS [
9.963 s]
[INFO] org.eclipse.winery.bpmn4tosca.converter.tobpel ..... SUCCESS [
3.650 s]
[INFO] org.eclipse.winery.highlevelrestapi ................ SUCCESS [
1.405 s]
[INFO] org.eclipse.winery.generators.ia ................... SUCCESS [
2.841 s]
[INFO] org.eclipse.winery.topologygraph ................... SUCCESS [
2.487 s]
[INFO] org.eclipse.winery.compliance ...................... SUCCESS [
9.503 s]
[INFO] org.eclipse.winery.model.substitution .............. SUCCESS [
3.419 s]
[INFO] org.eclipse.winery.repository.rest ................. SUCCESS
[03:08 min]
[INFO] org.eclipse.winery.repository.client ............... SUCCESS [
17.339 s]
[INFO] org.eclipse.winery.repository.ui ................... SUCCESS
[02:23 min]
[INFO] org.eclipse.winery.topologymodeler.ui .............. SUCCESS
[01:58 min]
[INFO] org.eclipse.winery.topologymodeler ................. FAILURE [
18.252 s]
[INFO] org.eclipse.winery.workflowmodeler ................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12:01 min
[INFO] Finished at: 2019-01-08T10:51:38+05:30
[INFO] Final Memory: 95M/798M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.6:bower (run bower) on
project org.eclipse.winery.topologymodeler: Failed to run task: 'bower
install' failed. org.apache.commons.exec.ExecuteException: 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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :org.eclipse.winery.topologymodeler
Note:
I have also tries installing "bower install" it works fine. but when I
try "mvn clean install" it fails
Regards
Ashish