Reading-eScience-Centre / ncwms

ncWMS - A Web Map Service for displaying environmental data over the web
Other
63 stars 30 forks source link

ncWMS (2.5.0) build fails #74

Open rod-glover opened 3 years ago

rod-glover commented 3 years ago

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:

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 commented 3 years ago

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.