Skip to content
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

Build fails because of missing dependency fairmetadata4j #45

Closed
bencomp opened this issue Jun 4, 2019 · 0 comments
Closed

Build fails because of missing dependency fairmetadata4j #45

bencomp opened this issue Jun 4, 2019 · 0 comments

Comments

@bencomp
Copy link

bencomp commented Jun 4, 2019

I tried building the FAIRDataPoint using Maven, but it failed with the following message:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:18 min
[INFO] Finished at: 2019-06-04T11:18:34+02:00
[INFO] Final Memory: 20M/387M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fairdatapoint: Could not resolve dependencies for project nl.dtls:fairdatapoint:war:0.1-beta: Could not find artifact nl.dtl:fairmetadata4j:jar:0.1-beta in jcenter-snapshots (https://jcenter.bintray.com/) -> [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/DependencyResolutionException

It turned out that after cloning fairmetadata4j and running mvn install in the directory, I could build the FDP WAR file.

Perhaps this step can be documented in the README? (Alternately, if the other project were published in the Maven repository, FDP should have built as well.)

@vknaisl vknaisl closed this as completed Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants