New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First compilation error #2044
Comments
Maybe its a little corrupt download of that jboss parent, you can try to delete it from your local m2 repo
And then try again |
Thank you indeed, the beginning of the compilation goes well after removing jboss-parent in .m2 folder. I'm running I've removed the node_modules in hawtio-web thank |
It says its some error about the webdriver-manager package, maybe try to disable it in the |
Was you able to get the code to compile? |
hi,
I'm try trying to compile the project.
on the page: http://hawt.io/building/index.html
Building
After you've cloned hawtio's git repo the first thing you should do is build the whole project. First cd into the root directory of the hawtio project and run:
mvn clean install
But from the beginning I get an error on the parent pom
$ mvn clean install
[INFO] Scanning for projects...
Downloading: http://repo.fusesource.com/maven2/org/jboss/jboss-parent/14/jboss-parent-14.pom
Downloading: http://repository.apache.org/content/groups/public/org/jboss/jboss-parent/14/jboss-parent-14.pom
[WARNING] Checksum validation failed, expected [Help 1]
[ERROR]
[ERROR] The project io.hawt:project:1.5-SNAPSHOT (/Users/me/GitHub/hawtio/pom.xml) has 3 errors
[ERROR] 'groupId' is missing. @ [unknown-group-id]:[unknown-artifact-id]:[unknown-version], /Users/me/.m2/repository/org/jboss/jboss-parent/14/jboss-parent-14.pom, line 2, column 7
[ERROR] 'artifactId' is missing. @ [unknown-group-id]:[unknown-artifact-id]:[unknown-version], /Users/me/.m2/repository/org/jboss/jboss-parent/14/jboss-parent-14.pom, line 2, column 7
[ERROR] 'version' is missing. @ [unknown-group-id]:[unknown-artifact-id]:[unknown-version], /Users/me/.m2/repository/org/jboss/jboss-parent/14/jboss-parent-14.pom, line 2, column 7
I've cloned jboss-parent-14 from git But it does not compile
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce (enforce-java-version) on project jboss-parent: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4:enforce (enforce-java-version) on project jboss-parent: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
jboss-parent does not compile with jdk 1.8 I've changed to jdk 1.7
I've running
mvn install on jboss-parent
But now on hawtio
mvn install
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.24:npm (npm install) on project hawtio-web: Failed to run task: 'npm install --color=false' failed. (error code 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.24:npm (npm install) on project hawtio-web: Failed to run task
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
I've trying ti run
npm install --color=false
-bash: npm: command not found
but in page
http://hawt.io/building/index.html I'm read
hawtio can now be built without having to install node.js or anything first thanks to the frontend-maven-plugin. This will install node.js & npm into a subdirectory, run npm install to install dependencies & run the build like normal.
Bye
The text was updated successfully, but these errors were encountered: