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
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 )
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.
Related
I am using Solana Swift Package Dependency in my project and created the custom classes to use the features, imported the Solana module in those classes. But while running the CICD work flow ( GitHub actions ) in the build archive option getting the error error: no such module 'Solana' in the custom classes. I have also attached the screenshot regarding that. (It's working in manual archive from Xcode.)
I have also added clean and build command in the CICD workflow so can fetch this Package Dependency. I am fixing this error since many days but not getting success so please I would like your help.
I have a solution and it working on other developer's laptops, but on one by some reason during build, I see the next error:
Error NU1403 Package content hash validation failed for
Lucene.Net.Contrib.3.0.3. The package is different than the last
restore.
build is failed by this reason.
at packeges folder I see correct Lucene.Net.Contrib.3.0.3 , what could be a reson for it and how to fix ?
clean up the global packaged folder fixed this issue.
path is %userprofile%.nuget\packages
I get folowing error as soon as I create a minecraft forge mod project for the minecraft version 1.18.2 with java sdk 17:
Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find net.minecraftforge:forge:1.18.2-40.1.25_mapped_official_1.18.2.
Searched in the following locations:
- file:/C:/Users/Hendrik/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.1.25_mapped_official_1.18.2/forge-1.18.2-40.1.25_mapped_official_1.18.2.pom
- file:/C:/Users/Hendrik/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.18.2-40.1.25_mapped_official_1.18.2/forge-1.18.2-40.1.25_mapped_official_1.18.2.jar
Required by:
project :
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
The given documentation also doon't realy helpes.
Maybe it's a problem with your cache, so deleted it from
C:\Users\Hendrik\.gradle\caches\forge_gradle
and rerun genEclipseRuns
I tried to clone and build the project from the stellar bridge-server github repository. After quite a lot of steps I am facing following errors:
[ERROR] github.com\stellar\go\services\bridge\internal\handlers\main.go:8:2: use of internal package github.com/stellar/go/services/bridge/internal/db not allowed
[ERROR] github.com\stellar\go\services\bridge\internal\handlers\main.go:9:2: use of internal package github.com/stellar/go/services/bridge/internal/listener not allowed
[ERROR] github.com\stellar\go\services\bridge\internal\handlers\main.go:10:2: use of internal package github.com/stellar/go/services/bridge/internal/submitter not allowed
( ... many more issues of same format ... )
I imported the dependencies and different packages but when I try to compile and install it I get this errors. I moved some folders to their upper folder to have a same directory as in repo wished but the errors are still the same.
I'm pretty confused and do not understand this problem. I'm totaly new in packaging directory system.
What is the problem here and what should I do?
Thank you for your help.
I am new to Bazel. I need to download external dependency jar files using Bazel. Where to configure to download external jar files. I tried to add jar files in BUILD and WORKSPACE files , but not working.
Workspace file
maven_server(name="myserver",url="https://mvnrepository.com/artifact/org.apache.flink/flink-java")
maven_jar(name="flink-java",artifact="org.apache.flink:filnk-java:jar:1.2.0",server="myserver")
bind(name="flink-java",actual="#flink-java//jar")
Build file
java_binary(
name="read_files",
srcs = glob(["ReadFiles.java"]),
main_class="com.ibm.cdo.gts.contracts.pipeline.preprocess.ReadFiles",
deps=["//external:flink-java"],
)
The logical mistake you have there is that the workspace name (flink-java) is illegal see here and here. What is needed is to change the - to _ in maven_jar and of course the reference in the bind.
maven_jar(name="flink_java",artifact="org.apache.flink:flink-java:jar:1.2.0")
bind(name="flink-java",actual="#flink_java//jar")
Two more mistakes you had in the above were:
In the artifact coordinates you wrote filnk-java when you needed flink-java
The mvnrepository URL you used doesn't seem to be legal. I tried a few variants but couldn't get it to work. Additionally from the site they seem to link downloads to Maven Central itself so I'm not sure they server the jars. Having said that since Bazel fallbacks to Maven Central I just omitted the maven_server and the build passes. If you need help with the maven_server part and you need to use a private Maven repository please double check the URL first.
PS: It would have really helped if you added to your question the Bazel outputs since I needed to create my own workspace to know what were the problems you encountered.