|
10 | 10 | <properties> |
11 | 11 | <toolchain.jdk.version>[17,)</toolchain.jdk.version> |
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | | - <maven.compiler.source>1.8</maven.compiler.source> |
| 13 | + <maven.compiler.source>11</maven.compiler.source> |
14 | 14 | <maven.compiler.target>${maven.compiler.source}</maven.compiler.target> |
15 | 15 | <org.mockito.version>5.17.0</org.mockito.version> |
16 | 16 | <!-- exclusion expression for e2e tests --> |
17 | 17 | <testExclusions>**/e2e/*.java</testExclusions> |
18 | 18 | <module-name>${project.groupId}.${project.artifactId}</module-name> |
19 | 19 | <skip.tests>false</skip.tests> |
20 | 20 | <!-- this will throw an error if we use wrong apis --> |
21 | | - <maven.compiler.release>8</maven.compiler.release> |
| 21 | + <maven.compiler.release>11</maven.compiler.release> |
22 | 22 | </properties> |
23 | 23 |
|
24 | 24 | <name>OpenFeature Java SDK</name> |
|
636 | 636 | </plugins> |
637 | 637 | </build> |
638 | 638 | </profile> |
639 | | - <!-- profile for running tests under java 8 (used mostly in CI) --> |
640 | | - <!-- selected automatically by JDK activeation (see https://maven.apache.org/guides/introduction/introduction-to-profiles.html#implicit-profile-activation) --> |
| 639 | + <!-- profile for running tests under java 11 (used mostly in CI) --> |
| 640 | + <!-- selected automatically by JDK activation (see https://maven.apache.org/guides/introduction/introduction-to-profiles.html#implicit-profile-activation) --> |
641 | 641 | <profile> |
642 | | - <id>java8</id> |
| 642 | + <id>java11</id> |
643 | 643 | <!-- with the next block we can define a set of sdks which still support java 8, if any of the sdks is not supporting java 8 anymore --> |
644 | 644 | <!--<modules><module></module></modules>--> |
645 | 645 | <properties> |
646 | | - <toolchain.jdk.version>(1.8,9)</toolchain.jdk.version> |
| 646 | + <toolchain.jdk.version>[11,)</toolchain.jdk.version> |
647 | 647 | <skip.tests>true</skip.tests> |
648 | 648 | </properties> |
649 | 649 |
|
|
0 commit comments