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

error in using OxO locally without Docker #74

Open
sb930 opened this issue Jun 2, 2023 · 0 comments
Open

error in using OxO locally without Docker #74

sb930 opened this issue Jun 2, 2023 · 0 comments

Comments

@sb930
Copy link

sb930 commented Jun 2, 2023

To help with part of my PhD research, I’m trying to build OxO locally. I’m trying to follow the instructions for running OxO without Docker. (I considered using the API but API calls would take a lot of time. I have an M1 MacBook Pro running MacOS 12.6.1, so I can’t install the docker image, as I get an error saying the image is built for amd/x64 processors.)

I have installed:
neo4j community edition 4.4.1
solr 9.2.1
Java 8.0
Apache Maven 3.9.2

When I have tried running "mvn clean package" and "mvn install" in a local cloned GitHub OxO repo, and get the following error messages:

[INFO] Reactor Summary for EMBL-EBI ontology cross-reference service (OxO) 0.0.17-SNAPSHOT:
[INFO]
[INFO] EMBL-EBI ontology cross-reference service (OxO) .... SUCCESS [ 3.017 s]
[INFO] oxo-model .......................................... SUCCESS [ 8.388 s]
[INFO] oxo-web ............................................ FAILURE [ 12.243 s]
[INFO] oxo-indexer ........................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.161 s
[INFO] Finished at: 2023-06-02T09:33:47+01:00
[INFO] ------------------------------------------------------------------------
[WARNING]
[WARNING] Plugin validation issues were detected in 5 plugin(s)
[WARNING]
[WARNING] * org.apache.maven.plugins:maven-jar-plugin:2.6
[WARNING] * org.apache.maven.plugins:maven-surefire-plugin:2.18.1
[WARNING] * org.apache.maven.plugins:maven-resources-plugin:2.6
[WARNING] * org.apache.maven.plugins:maven-compiler-plugin:3.1
[WARNING] * org.apache.maven.plugins:maven-clean-plugin:2.6.1
[WARNING]
[WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [BRIEF, DEFAULT, VERBOSE]
[WARNING]
[ERROR] Failed to execute goal on project oxo-web: Could not resolve dependencies for project uk.ac.ebi.spot:oxo-web:war:0.0.17-SNAPSHOT: Failed to collect dependencies at uk.ac.ebi.spot:sping-security-orcid-stateless:jar:0.0.8: Failed to read artifact descriptor for uk.ac.ebi.spot:sping-security-orcid-stateless:jar:0.0.8: The following artifacts could not be resolved: uk.ac.ebi.spot:sping-security-orcid-stateless:pom:0.0.8 (absent): Could not transfer artifact uk.ac.ebi.spot:sping-security-orcid-stateless:pom:0.0.8 from/to nexus-public (https://www.ebi.ac.uk/spot/nexus/repository/maven-public/): status code: 503, reason phrase: Service Temporarily Unavailable (503) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :oxo-web

Navigating to the webpage: https://www.ebi.ac.uk/spot/nexus/repository/maven-public/
I can see the following:

Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Is there any advice on how to proceed? I’m not sure if I’ve made a mistake in trying to run OxO locally. If not, is there is mirror for the EBI Maven repository or will the server be running again? An alternative would be to install with Docker - are there any plans for an ARM/Apple Silicon compatible docker image?

Please let me know if you need any more details from me.

Many thanks for your help and for building this very useful tool!

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

1 participant