File tree Expand file tree Collapse file tree 3 files changed +60
-48
lines changed Expand file tree Collapse file tree 3 files changed +60
-48
lines changed Original file line number Diff line number Diff line change 108
108
<jeromq .version>0.6.0</jeromq .version>
109
109
<jmdns .version>3.6.1</jmdns .version>
110
110
<jmh .version>1.37</jmh .version>
111
+ <jspecify .version>1.0.0</jspecify .version>
111
112
<junit .version>4.13.2</junit .version>
112
113
<junit-jupiter .version>5.13.1</junit-jupiter .version>
113
114
<junit-pioneer .version>1.9.1</junit-pioneer .version>
1143
1144
1144
1145
<profiles >
1145
1146
1147
+ <!-- `java8-tests` profile to force using Java 8 while running tests -->
1148
+ <profile >
1149
+
1150
+ <id >java8-tests</id >
1151
+
1152
+ <activation >
1153
+ <property >
1154
+ <name >env.CI</name >
1155
+ <value >true</value >
1156
+ </property >
1157
+ </activation >
1158
+
1159
+ <!-- There are certain Java 8 bugs[1] that cause Mockito failures[2].
1160
+ Adding necessary dependencies to workaround them.
1161
+ [1] https://bugs.openjdk.org/browse/JDK-8152174
1162
+ [2] https://github.com/mockito/mockito/issues/1449 -->
1163
+ <dependencies >
1164
+ <dependency >
1165
+ <groupId >org.jspecify</groupId >
1166
+ <artifactId >jspecify</artifactId >
1167
+ <version >${jspecify.version} </version >
1168
+ <scope >test</scope >
1169
+ </dependency >
1170
+ </dependencies >
1171
+
1172
+ <build >
1173
+ <plugins >
1174
+ <plugin >
1175
+ <groupId >org.apache.maven.plugins</groupId >
1176
+ <artifactId >maven-surefire-plugin</artifactId >
1177
+ <executions >
1178
+ <!-- Modifies only the `default-test` run -->
1179
+ <execution >
1180
+ <id >default-test</id >
1181
+ <configuration >
1182
+ <jdkToolchain >
1183
+ <version >[1.8, 9)</version >
1184
+ </jdkToolchain >
1185
+ </configuration >
1186
+ </execution >
1187
+ </executions >
1188
+ </plugin >
1189
+ </plugins >
1190
+ </build >
1191
+
1192
+ </profile >
1193
+
1146
1194
<!-- `plugin-processing` profile containing configuration specific to `@Plugin`-annotated members -->
1147
1195
<profile >
1148
1196
Original file line number Diff line number Diff line change 357
357
<!-- =====================================================
358
358
Direct dependency version properties (in alphabetical order)
359
359
===================================================== -->
360
- <jspecify .version>1.0.0</jspecify .version>
361
360
<log4j-docgen .version>0.9.0</log4j-docgen .version>
362
361
<node .version>21.7.1</node .version>
363
362
<npm .version>10.5.0</npm .version>
956
955
957
956
<profiles >
958
957
959
- <!-- `java8-tests` profile to force using Java 8 while running tests -->
960
- <profile >
961
-
962
- <id >java8-tests</id >
963
-
964
- <activation >
965
- <property >
966
- <name >env.CI</name >
967
- <value >true</value >
968
- </property >
969
- </activation >
970
-
971
- <!-- There are certain Java 8 bugs[1] that cause Mockito failures[2].
972
- Adding necessary dependencies to workaround them.
973
- [1] https://bugs.openjdk.org/browse/JDK-8152174
974
- [2] https://github.com/mockito/mockito/issues/1449 -->
975
- <dependencies >
976
- <dependency >
977
- <groupId >org.jspecify</groupId >
978
- <artifactId >jspecify</artifactId >
979
- <version >${jspecify.version} </version >
980
- <scope >test</scope >
981
- </dependency >
982
- </dependencies >
983
-
984
- <build >
985
- <plugins >
986
- <plugin >
987
- <groupId >org.apache.maven.plugins</groupId >
988
- <artifactId >maven-surefire-plugin</artifactId >
989
- <executions >
990
- <!-- Modifies only the `default-test` run -->
991
- <execution >
992
- <id >default-test</id >
993
- <configuration >
994
- <jdkToolchain >
995
- <version >[1.8, 9)</version >
996
- </jdkToolchain >
997
- </configuration >
998
- </execution >
999
- </executions >
1000
- </plugin >
1001
- </plugins >
1002
- </build >
1003
-
1004
- </profile >
1005
-
1006
958
<profile >
1007
959
<id >rerun-tests</id >
1008
960
<activation >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <entry xmlns =" https://logging.apache.org/xml/ns"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation ="
5
+ https://logging.apache.org/xml/ns
6
+ https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
7
+ type =" fixed" >
8
+ <issue id =" 3758" link =" https://github.com/apache/logging-log4j2/issues/3758" />
9
+ <description format =" asciidoc" >
10
+ Move `jspecify.version` Maven property and `java8-tests` profile from `log4j-bom` to `log4j-parent`, since the former gets trimmed before deployment.
11
+ </description >
12
+ </entry >
You can’t perform that action at this time.
0 commit comments