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: README.adoc
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,15 @@ In short, javapackages-validator helps maintain Java packaging quality and consi
27
27
* During package reviews by distribution maintainers.
28
28
29
29
== Building
30
-
The project is built with Maven. JDK version 23 is required. Simply run:
30
+
The project is built with Maven. JDK version 25 is required. Simply run:
31
31
[source, shell]
32
32
----
33
33
$ mvn install
34
34
----
35
35
36
36
== Usage
37
37
The tool is executed from the command line using the `java` command with the proper classpath.
38
-
JVM version 23 is required.
38
+
JVM version 25 is required.
39
39
40
40
[subs = quotes]
41
41
----
@@ -94,12 +94,12 @@ Class path may already exist and contain `.class` files, this is useful to imple
94
94
The entries on this class path are used to add additional validator classes to the tool.
95
95
96
96
==== Compiler configuration
97
-
The directory pointed to by the `--source-path` can contain file `javapackages-validator.properties`, which is loaded as a standard https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/Properties.html[Java properties file] and is used to configure compilation.
97
+
The directory pointed to by the `--source-path` can contain file `javapackages-validator.properties`, which is loaded as a standard https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Properties.html[Java properties file] and is used to configure compilation.
98
98
It can contain the following fields:
99
99
100
100
`compiler.release`::
101
101
The value of this field is passed to Java compiler as `--release` argument.
102
-
Defaults to `23` if not set.
102
+
Defaults to `25` if not set.
103
103
104
104
`dependencies`::
105
105
Specifies extra dependencies to add to class path, in addition to `--class-path`.
@@ -126,7 +126,7 @@ Recompilation is caused by any of these conditions:
126
126
Recompilation causes the class path directory to be cleaned before the newly compiled classes are placed there.
127
127
128
128
=== Service file
129
-
The file `META-INF/services/org.fedoraproject.javapackages.validator.spi.ValidatorFactory` is a standard https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/ServiceLoader.html#deploying-service-providers-on-the-class-path-heading[Java service file].
129
+
The file `META-INF/services/org.fedoraproject.javapackages.validator.spi.ValidatorFactory` is a standard https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/ServiceLoader.html#deploying-service-providers-on-the-class-path-heading[Java service file].
130
130
It contains a line-separated list of validator factory class names which are available to be executed.
131
131
This file will be copied from the source path to the class path and is expected to be present on the class path if source path is not specified.
132
132
@@ -160,7 +160,7 @@ The key is a tmt test name. The value of the field must be a list of strings. It
160
160
161
161
`exclude-tests-matching`::
162
162
The value of this field is a list of strings.
163
-
The strings must be valid https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/regex/Pattern.html[Java regular expressions].
163
+
The strings must be valid https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/regex/Pattern.html[Java regular expressions].
164
164
If any of these patterns matches the test name of a validator, it will be skipped.
165
165
166
166
.Example of `javapackages-validator.yaml` configuration file
0 commit comments