unable to build dcm4chee-arc-cdi

筅森魡賤 提交于 2019-12-11 09:58:01

问题


I'm trying to build dcm4chee-arc-cdi with code cloned from github: https://github.com/dcm4che/dcm4chee-arc-cdi

However when issuing the build command as described at the README.md

mvn install -D db=psql I get the following error:

[ERROR] Failed to execute goal on project dcm4chee-arc-conf: Could not resolve dependencies for project org.dcm4che.dcm4chee-arc:dcm4chee-arc-conf:jar:4.5.0-SNAPSHOT: The following artifacts could not be resolved: org.dcm4che:dcm4che-conf-api:jar:3.3.8-SNAPSHOT, org.dcm4che:dcm4che-conf-dicom:jar:3.3.8-SNAPSHOT, org.dcm4che:dcm4che-imageio:jar:3.3.8-SNAPSHOT, org.dcm4che:dcm4che-net-hl7:jar:3.3.8-SNAPSHOT, org.dcm4che:dcm4che-conf-api-hl7:jar:3.3.8-SNAPSHOT, org.dcm4che:dcm4che-soundex:jar:3.3.8-SNAPSHOT, org.dcm4che.dcm4chee-storage:dcm4chee-storage-service:jar:2.1.0-SNAPSHOT: Failure to find org.dcm4che:dcm4che-conf-api:jar:3.3.8-SNAPSHOT in http://www.dcm4che.org/maven2 was cached in the local repository

Does anybody have a suggestion on how to overcome this? thanks


回答1:


It seems that some other projects needed to be built before dcm4chee-arc-cdi.

Those were:

The dcm4che 3 library ( https://github.com:dcm4che/dcm4che )
The configuration layer ( https://github.com/dcm4che/dcm4chee-conf )
The storage layer ( https://github.com/dcm4che/dcm4chee-storage2 )
The monitoring framework ( https://github.com/dcm4che/dcm4chee-monitoring )



回答2:


Seems the release repository (http://www.dcm4che.org/maven2/) is not holding the expected versions.

Take dcm4che-conf-api-hl7 for example. Its declared version (3.3.8-SNAPSHOT) does not exist in http://www.dcm4che.org/maven2/org/dcm4che/dcm4che-conf-api-hl7/
I guess the others are similar errors.

I suggest you contact one of the project's contributors like Umberto Cappellini

For a temp solution, you can edit the main pom.xml and replace the missing versions with actual versions you find in the repository I mentioned above.

I hope this helps.



来源:https://stackoverflow.com/questions/32438616/unable-to-build-dcm4chee-arc-cdi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!