File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 86
86
<dependency >
87
87
<groupId >org.kohsuke</groupId >
88
88
<artifactId >file-leak-detector</artifactId >
89
- <version >1.15 </version >
89
+ <version >${file-leak-detector.version} </version >
90
90
<!-- the regular jar does not specify a main class -->
91
91
<classifier >jar-with-dependencies</classifier >
92
92
<exclusions >
129
129
</plugins >
130
130
</build >
131
131
132
+ <profiles >
133
+ <profile >
134
+ <id >jdk8-compatible</id >
135
+ <activation >
136
+ <jdk >(,11)</jdk >
137
+ </activation >
138
+ <properties >
139
+ <file-leak-detector .version>1.15</file-leak-detector .version>
140
+ </properties >
141
+ </profile >
142
+ <profile >
143
+ <id >jdk21-compatible</id >
144
+ <activation >
145
+ <jdk >[11,)</jdk >
146
+ </activation >
147
+ <properties >
148
+ <file-leak-detector .version>1.18</file-leak-detector .version>
149
+ </properties >
150
+ </profile >
151
+ </profiles >
152
+
132
153
<developers >
133
154
<developer >
134
155
<id >curtis</id >
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ public class FormatReaderTestFactory {
67
67
68
68
@ Factory
69
69
public Object [] createInstances () {
70
+ LOGGER .info ("java.version = {}" , System .getProperty ("java.version" ));
71
+
70
72
List <String > files = new ArrayList <String >();
71
73
72
74
// parse explicit filename, if any
You can’t perform that action at this time.
0 commit comments