Closed PhilliVanilli closed 3 years ago
Isn't there a way to include this file into the repo permanently?
Hi, I'm afraid I won't fix this. You can always fork the old commit, change the URL in build.gradle
and use this private fork for your needs.
Well, that's the thing, that won't work, since even that fork will be dependent on the future web location of these file(s) making the install unstable over the years. I don't even know what central maven is, just tried my luck by changing the link but next time that might not work. But I don't know how difficult this all is. Anyway, thanks for providing these tools! Very useful
Verify
Subject of the issue
If I run ./gradlew sam4weblogo after downloading an earlier version of jvarkit repo, I get a central maven error. Apparently during installation a file is downloaded from the web and this location changed to http://maven.org/maven2. If I change this location in the build.gradle file, then it finds that file again. However, this solution isn't stable as long as the install remains dependent on web location of file. Isn't there a way to include this file into the repo permanently?
#
Your environment
${JAVA_HOME}
Steps to reproduce
clone the repo at f39087b run ./gradlew sam4weblogo inside jvarkit folder
Expected behaviour
jvarkit should be installed
Actual behaviour
(nanop) pselhorst@linuxlaptop:~/nanopore_pipeline_wrapper/jvarkit$ ./gradlew sam4weblogo
FAILURE: Build failed with an exception.
Where: Build file '/home/pselhorst/nanopore_pipeline_wrapper/jvarkit/build.gradle' line: 106
What went wrong: Execution failed for sam4weblogo com.github.lindenb.jvarkit.tools.sam4weblogo.SAM4WebLogo.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.