-
Notifications
You must be signed in to change notification settings - Fork 36
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
v3. Downgrade commons-cli to fix product run #314
v3. Downgrade commons-cli to fix product run #314
Conversation
Signed-off-by: Artem Kozlov <[email protected]>
Hi @aindlq, thanks for the PR! So why not just use the new variable name instead of downgrading the dependency? Are there more problems? |
|
Groovy 3, that gradle plugins are required to use, is incompatible with |
Of course, sorry, I got confused that this is in Gretty's code. Thanks for the help! As for the second commit - do you think it's better than what I've done in master? |
essentially it is the same, your version excludes dependency my version force specific version of a dependency. I'll remove my change. What is the proper way to contribute to v3. Should I rebase on master and target master for the PR? |
|
done #315 |
Thank you! I'll wait for the tests to finish and will merge both. Do you need this released quickly? |
Thanks! It is not ultra urgent but highly appreciated, we use gretty in https://github.com/researchspace/researchspace and currently doing a new major release, would be nice to have things working without too much hacks. |
Will do! I'll create a new release later today. Thanks again for the PRs! |
Thank you!
…On December 6, 2024 1:53:41 PM GMT+02:00, Boris Petrov ***@***.***> wrote:
Will do! I'll create a new release later today. Thanks again for the PRs!
--
Reply to this email directly or view it on GitHub:
#314 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Released in 4.1.6 and 3.1.5! Thank you again! |
Thank you!!! |
Product runs are currently broken because of the incompatibility between
CliBuilder
andcommons-cli
version that is used in gretty.Gretty is using
commons-cli
version that is incompatible withCliBuilder
from groovy 3.x.CliBuilder
in groovy 3.x is accessingnumberOfArgs
property - https://github.com/apache/groovy/blob/GROOVY_3_0_22/subprojects/groovy-cli-commons/src/main/groovy/groovy/cli/commons/CliBuilder.groovy#L555but it was renamed in
commons-cli
version after1.3.1
toargCount
, see https://github.com/apache/commons-cli/blob/cli-1.3.1/src/main/java/org/apache/commons/cli/Option.java#L72 vs currently used one https://github.com/apache/commons-cli/blob/commons-cli-1.5.0/src/main/java/org/apache/commons/cli/Option.java#L76Exception when trying to run product generated with gretty 3.1.4: