LHNCBC / metamaplite-rest

A ReSTful service for MetaMapLite
Other
1 stars 0 forks source link

Build Failure - Missing NLM file #8

Open mbach138 opened 2 years ago

mbach138 commented 2 years ago

This is not building due to a missing file

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:45 min [INFO] Finished at: 2022-02-15T12:30:22-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project metamaplite-rest: Could not resolve dependencies for project gov.nih.nlm.nls:metamaplite-rest:war:0.0.1-SNAPSHOT: Failed to collect dependencies at gov.nih.nlm.nls:metamaplite:jar:3.6.2rc7: Failed to read artifact descriptor for gov.nih.nlm.nls:metamaplite:jar:3.6.2rc7: Could not transfer artifact gov.nih.nlm.nls:metamaplite:pom:3.6.2rc7 from/to metamap maven (https://metamap.nlm.nih.gov/maven2/): Transfer failed for https://metamap.nlm.nih.gov/maven2/gov/nih/nlm/nls/metamaplite/3.6.2rc7/metamaplite-3.6.2rc7.pom: Connection reset -> [Help 1]

mbach138 commented 2 years ago

Has anyone had a chance to check this? I would prefer to use MML but without a resolution or advice on this issue I'm using the full MM.

willjrogers commented 2 years ago

You can generate MetaMapLite 3.6.2rc8 by cloning and compiling MetaMapLite at the MetaMapLite Github page. You'll need to update the MetaMapLite-ReST pom.xml:

<!-- metamaplite -->
<dependency>
  <groupId>gov.nih.nlm.nls</groupId>
  <artifactId>metamaplite</artifactId>
  <version>3.6.2rc8</version>
</dependency>

Also, you will need the 2020AB 2020AB UMLS Level 0+4+9 Dataset.