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

ncWMS (2.5.0) build fails #74

Open
rod-glover opened this issue Oct 15, 2020 · 1 comment
Open

ncWMS (2.5.0) build fails #74

rod-glover opened this issue Oct 15, 2020 · 1 comment

Comments

@rod-glover
Copy link

I just attempted to build the latest version of ncWMS from source, and the build failed with the following message:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java (generate-palettes) on project ncWMS: Execution generate-palettes of goal org.codehaus.mojo:exec-maven-plugin:1.5.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:1.5.0 or one of its dependencies could not be resolved: Failure to find uk.ac.rdg.resc:edal-examples:jar:1.5.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

Specifically:

  • Running on Ubuntu 20.04
  • Fresh install of maven (3.6.3)
  • Java 11 openjdk
  • Checked out ncWMS 2.5.0 (commit SHA d5b67c4)
  • Run mvn clean install

The error is consistent with the comment

With the exception of edal-examples (which contains the example code used in this guide) all modules are available on the Central Maven Repository.

in the EDAL Usage document.

Suggestions?

@guygriffiths
Copy link
Collaborator

Thanks for pointing this one out. I'll need to fix this, but for now you can either removed lines 221-250 of pom.xml, or check out the EDAL code (https://github.com/Reading-eScience-Centre/edal-java/) and install it locally with mvn install.

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