You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: enforcer-rules/src/site/apt/requireJavaVersion.apt.vm
+7-12
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,9 @@ Require Java Version
33
33
34
34
* <<version>> - {{{./versionRanges.html}range}} of allowed JDKs.
35
35
36
+
* <<display>> - flag to display the normalized JDK version.
37
+
38
+
36
39
For JDK 1.8 you can also use simple <<<8>>> as <version> - it will be internally changed to <<<1.8>>>
37
40
38
41
[]
@@ -49,18 +52,10 @@ Require Java Version
49
52
50
53
[]
51
54
52
-
This preprocessing normalizes various JDK version strings into a standard x.y.z-b version number. Your required range should therefore use the x.y.z-b format for comparison.
53
-
There is an easy way to see how your current JDK string will be normalized:
0 commit comments