|
173 | 173 | <optional>true</optional> |
174 | 174 | </dependency> |
175 | 175 |
|
176 | | - <!-- Nashorn JS engine --> |
177 | | - <dependency> |
178 | | - <groupId>org.openjdk.nashorn</groupId> |
179 | | - <artifactId>nashorn-core</artifactId> |
180 | | - <version>15.3</version> |
181 | | - </dependency> |
182 | | - |
183 | 176 | <!-- Logging System --> |
184 | 177 | <dependency> |
185 | 178 | <groupId>org.slf4j</groupId> |
|
236 | 229 |
|
237 | 230 | <properties> |
238 | 231 | <antlr-version>4.9.2</antlr-version> |
| 232 | + <nashorn.version>15.3</nashorn.version> |
239 | 233 | </properties> |
240 | 234 |
|
241 | 235 | <profiles> |
242 | | - <profile> |
243 | | - <id>Xlint</id> |
244 | | - <build> |
245 | | - <plugins> |
246 | | - <plugin> |
247 | | - <artifactId>maven-compiler-plugin</artifactId> |
248 | | - <configuration> |
249 | | - <compilerArgs> |
250 | | - <arg>-Xlint</arg> |
251 | | - </compilerArgs> |
252 | | - </configuration> |
253 | | - </plugin> |
254 | | - </plugins> |
255 | | - </build> |
256 | | - </profile> |
257 | 236 | <profile> |
258 | 237 | <id>coverage</id> |
259 | 238 | <build> |
|
312 | 291 | </plugins> |
313 | 292 | </build> |
314 | 293 | </profile> |
| 294 | + |
| 295 | + <!-- Range jdk version doesn't work, have to set each jdk --> |
| 296 | + <profile> |
| 297 | + <id>nashorn9</id> |
| 298 | + <activation> |
| 299 | + <jdk>9</jdk> |
| 300 | + </activation> |
| 301 | + <dependencies> |
| 302 | + <!-- Nashorn JS engine --> |
| 303 | + <dependency> |
| 304 | + <groupId>org.openjdk.nashorn</groupId> |
| 305 | + <artifactId>nashorn-core</artifactId> |
| 306 | + <version>${nashorn.version}</version> |
| 307 | + </dependency> |
| 308 | + </dependencies> |
| 309 | + </profile> |
| 310 | + <profile> |
| 311 | + <id>nashorn10</id> |
| 312 | + <activation> |
| 313 | + <jdk>10</jdk> |
| 314 | + </activation> |
| 315 | + <dependencies> |
| 316 | + <!-- Nashorn JS engine --> |
| 317 | + <dependency> |
| 318 | + <groupId>org.openjdk.nashorn</groupId> |
| 319 | + <artifactId>nashorn-core</artifactId> |
| 320 | + <version>${nashorn.version}</version> |
| 321 | + </dependency> |
| 322 | + </dependencies> |
| 323 | + </profile> |
| 324 | + <profile> |
| 325 | + <id>nashorn11</id> |
| 326 | + <activation> |
| 327 | + <jdk>11</jdk> |
| 328 | + </activation> |
| 329 | + <dependencies> |
| 330 | + <!-- Nashorn JS engine --> |
| 331 | + <dependency> |
| 332 | + <groupId>org.openjdk.nashorn</groupId> |
| 333 | + <artifactId>nashorn-core</artifactId> |
| 334 | + <version>${nashorn.version}</version> |
| 335 | + </dependency> |
| 336 | + </dependencies> |
| 337 | + </profile> |
| 338 | + <profile> |
| 339 | + <id>nashorn12</id> |
| 340 | + <activation> |
| 341 | + <jdk>12</jdk> |
| 342 | + </activation> |
| 343 | + <dependencies> |
| 344 | + <!-- Nashorn JS engine --> |
| 345 | + <dependency> |
| 346 | + <groupId>org.openjdk.nashorn</groupId> |
| 347 | + <artifactId>nashorn-core</artifactId> |
| 348 | + <version>${nashorn.version}</version> |
| 349 | + </dependency> |
| 350 | + </dependencies> |
| 351 | + </profile> |
| 352 | + <profile> |
| 353 | + <id>nashorn13</id> |
| 354 | + <activation> |
| 355 | + <jdk>13</jdk> |
| 356 | + </activation> |
| 357 | + <dependencies> |
| 358 | + <!-- Nashorn JS engine --> |
| 359 | + <dependency> |
| 360 | + <groupId>org.openjdk.nashorn</groupId> |
| 361 | + <artifactId>nashorn-core</artifactId> |
| 362 | + <version>${nashorn.version}</version> |
| 363 | + </dependency> |
| 364 | + </dependencies> |
| 365 | + </profile> |
| 366 | + <profile> |
| 367 | + <id>nashorn14</id> |
| 368 | + <activation> |
| 369 | + <jdk>14</jdk> |
| 370 | + </activation> |
| 371 | + <dependencies> |
| 372 | + <!-- Nashorn JS engine --> |
| 373 | + <dependency> |
| 374 | + <groupId>org.openjdk.nashorn</groupId> |
| 375 | + <artifactId>nashorn-core</artifactId> |
| 376 | + <version>${nashorn.version}</version> |
| 377 | + </dependency> |
| 378 | + </dependencies> |
| 379 | + </profile> |
| 380 | + <profile> |
| 381 | + <id>nashorn15</id> |
| 382 | + <activation> |
| 383 | + <jdk>15</jdk> |
| 384 | + </activation> |
| 385 | + <dependencies> |
| 386 | + <!-- Nashorn JS engine --> |
| 387 | + <dependency> |
| 388 | + <groupId>org.openjdk.nashorn</groupId> |
| 389 | + <artifactId>nashorn-core</artifactId> |
| 390 | + <version>${nashorn.version}</version> |
| 391 | + </dependency> |
| 392 | + </dependencies> |
| 393 | + </profile> |
| 394 | + <profile> |
| 395 | + <id>nashorn16</id> |
| 396 | + <activation> |
| 397 | + <jdk>16</jdk> |
| 398 | + </activation> |
| 399 | + <dependencies> |
| 400 | + <!-- Nashorn JS engine --> |
| 401 | + <dependency> |
| 402 | + <groupId>org.openjdk.nashorn</groupId> |
| 403 | + <artifactId>nashorn-core</artifactId> |
| 404 | + <version>${nashorn.version}</version> |
| 405 | + </dependency> |
| 406 | + </dependencies> |
| 407 | + </profile> |
| 408 | + <profile> |
| 409 | + <id>nashorn17</id> |
| 410 | + <activation> |
| 411 | + <jdk>17</jdk> |
| 412 | + </activation> |
| 413 | + <dependencies> |
| 414 | + <!-- Nashorn JS engine --> |
| 415 | + <dependency> |
| 416 | + <groupId>org.openjdk.nashorn</groupId> |
| 417 | + <artifactId>nashorn-core</artifactId> |
| 418 | + <version>${nashorn.version}</version> |
| 419 | + </dependency> |
| 420 | + </dependencies> |
| 421 | + </profile> |
315 | 422 | </profiles> |
316 | 423 | </project> |
0 commit comments