phenotips / clinical-text-analysis-extension

An extension for Phenotips to extract HPO terms from free text.
1 stars 7 forks source link

Checkstyle error while building phenotips-components #26

Closed Masber closed 5 years ago

Masber commented 5 years ago

Dear Phenotips community,

I am getting this error when running mvn install inside my phenotips/compnents folder as the instructions suggested.

For some reason the process fails with the error below.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16:09 min
[INFO] Finished at: 2018-11-27T01:34:49Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (test-checkstyle) on project clinical-text-analysis-extension-api: You have 16 Checkstyle violations. -> [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 :clinical-text-analysis-extension-api

Any advice?

thank you very much

Masber commented 5 years ago

ok, the problem was my OS was windoes so the end on line is different then linux.

solution is either to disable the plugin or git clone instead of downloading a specific release