Skip to content
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

Systems: Validate Runtime Version #2

Open
1 task
scblack321 opened this issue Aug 2, 2021 · 2 comments
Open
1 task

Systems: Validate Runtime Version #2

scblack321 opened this issue Aug 2, 2021 · 2 comments
Assignees

Comments

@scblack321
Copy link
Collaborator

  • Validate Runtime version as range or list during create/update
@scblack321 scblack321 self-assigned this Aug 2, 2021
@scblack321
Copy link
Collaborator Author

Use maven syntax for list, range:

https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html

Range Meaning
1.0 x >= 1.0 * The default Maven meaning for 1.0 is everything (,) but with 1.0 recommended. Obviously this doesn't work for enforcing versions here, so it has been redefined as a minimum version.
(,1.0] x <= 1.0
(,1.0) x < 1.0
[1.0] x == 1.0
[1.0,) x >= 1.0
(1.0,) x > 1.0
(1.0,2.0) 1.0 < x < 2.0
[1.0,2.0] 1.0 <= x <= 2.0
(,1.0],[1.2,) x <= 1.0 or x >= 1.2. Multiple sets are comma-separated
(,1.1),(1.1,) x != 1.1

@scblack321
Copy link
Collaborator Author

https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN8855

(,1.0] x <= 1.0
It generally means 1.0 or a later version, if 1.0 is not available. Various Maven plug-ins may interpret this differently, so it is safer to use one of the other, more specific options.
Exactly 1.0
1.2 <= x <= 1.3
1.0 <= x < 2.0
x >= 1.5
x <= 1.0 or x >= 1.2. Multiple sets are separated by a comma.
This excludes 1.1 if it is known not to work in combination with the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant