Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
maven_artifact.py - add support for version ranges by using spec #54309
This PR allows to specify which versions of maven packages we want to download by using constraints.
Also I saw that other person have asked for this feature on #20003
The syntax supported for this module was based on this page.
Feature Pull Request
referenced this pull request
Mar 24, 2019
Excellent, this is a needed one. Thank you!
It will need some extended testing, with several version patterns and several repositories. I am not familiar with unit testing with Ansible, but I think some unit tests on the regexps would be great too. I don't think the sanity test should be disabled.
To what extent do you think the Maven Specification is implemented?
Thanks for the reply.
Yes, I agree with you. I will try to find out how unit testings are done in Ansible, I have done some, but for sure it will be missing some cases.
About the extent of Maven Specification, I'm not sure about it, but probably the first six ranges are implemented.