phenopackets / phenopacket-tools

An app and library for building, conversion, and validation of GA4GH Phenopackets.
http://phenopackets.org/phenopacket-tools/stable/
GNU General Public License v3.0
13 stars 5 forks source link

mvn package does not work for me #11

Closed domibln closed 3 years ago

domibln commented 3 years ago

unsuccesfully tested under different flavours of linux:

CentOS 8 says:

$ mvn package

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] phenotools                                                         [pom]
[INFO] phenotools-builder                                                 [jar]
[INFO] phenotools-converter                                               [jar]
[INFO] phenotools-cli                                                     [jar]
[INFO] 
[INFO] ---------------< org.phenopackets.phenotools:phenotools >---------------
[INFO] Building phenotools 0.0.1-SNAPSHOT                                 [1/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] -----------< org.phenopackets.phenotools:phenotools-builder >-----------
[INFO] Building phenotools-builder 0.0.1-SNAPSHOT                         [2/4]
[INFO] --------------------------------[ jar ]---------------------------------

(...)

[WARNING] The POM for org.phenopackets:phenopacket-schema:jar:2.0.0 is missing, no dependency information available

(...)

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] phenotools 0.0.1-SNAPSHOT .......................... SUCCESS [  0.001 s]
[INFO] phenotools-builder ................................. FAILURE [16:46 min]
[INFO] phenotools-converter ............................... SKIPPED
[INFO] phenotools-cli 0.0.1-SNAPSHOT ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:51 min
[INFO] Finished at: 2021-10-17T16:58:37+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project phenotools-builder: Could not resolve dependencies for project org.phenopackets.phenotools:phenotools-builder:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.prefixcommons:curie-util:jar:0.0.2 -> com.github.jsonld-java:jsonld-java:jar:0.10.0: Failed to read artifact descriptor for com.github.jsonld-java:jsonld-java:jar:0.10.0: Could not transfer artifact com.github.jsonld-java:jsonld-java:pom:0.10.0 from/to central (https://repo.maven.apache.org/maven2): Connection timed out (Read failed) -> [Help 1]
julesjacobsen commented 3 years ago

Can you try again - the jar should be available now.

domibln commented 3 years ago

This helps, thank you.

It would be helpful to state in the README that java-11 is required.