-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source Code Availibility for nfcore_external_java_deps.jar
#1251
Comments
Yeah good question - the only docs that I know of are this mention here: (fairly obscure place to find it)
@KevinMenden compiled this file when we built the JSON schema code. I think it's basically these dependencies: tools/nf_core/pipeline-template/lib/NfcoreSchema.groovy Lines 5 to 12 in e0d00d3
I'm not sure if it's all of them (some may be already available in Nextflow, so it could possibly be just the |
nfcore_external_java_deps.jar
I can't give you the exact list of dependencies right now, but those sound about right. I basically just collected all the dependencies that were necessary and combined their JARs. |
Hi @KevinMenden, I believe I found a bug related to the parameters validation against the schema (org.everit.json.schema.loader.SchemaLoader usage). I reported it here but they asked me about the version I'm using, and to be honest, I don't know how to get that info, and I believe the package is compiled in this file. Do you mind giving me a hand with this? Thanks in advance! |
Hi @KevinMenden, I wonder if the package I'm talking about is used from your file or from here: |
Hi @sralchemab, |
@KevinMenden Let me know once you found things - I might actually setup a separate directory for the code to generate the JAR file with some kind of release functionality that automates the process a bit more nicely. That would also mean we can pull in updated / bugfixed versions of upstream libraries if necessary :-) |
Hi @KevinMenden, have you been able to look into this? |
Sorry - didn't geht around to check this week, but will do today :) will let you know |
Alright, so unfortunately I don't have any notes about the exact versions used for putting together the JAR file anymore - definitely a bit of a mess up on my side. This should be kept somehow ... @apeltzer sounds like a good idea! I guess it makes sense to make this whole exercise again and create the JAR file from scratch - and make it reproducible, not like I did 🤦 |
Thanks, Kevin. Could you tell me in which circumstances this JAR file is used? Is it only when running |
I have been out of the project for a bit so I can't tell you exactly where it used now. |
As the parameter validation code has been moved to the nf-validation plugin, dependencies are specified there, and we don't use the |
Is your feature request related to a problem? Please describe
It seems like the
lib/nfcore_external_java_deps.jar
compiles groovy code under lib at nextflow runtime. This is really handy. I searched the documentation but could not find the source code or any description to this jar. Would be great if some detail can be provided, for many reasons such as security.Describe the solution you'd like
Make the source code available if not already and if possible, and/or add description to documentation.
Additional context
Please let me know if it is already documented somewhere else or if the source code is already publicly available. Appreciated!
The text was updated successfully, but these errors were encountered: