File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >org.codefx.demo</groupId >
8
8
<artifactId >java-x</artifactId >
9
- <version >16 .0-SNAPSHOT</version >
9
+ <version >18 .0-SNAPSHOT</version >
10
10
11
11
<properties >
12
12
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
44
44
<plugins >
45
45
<plugin >
46
46
<artifactId >maven-compiler-plugin</artifactId >
47
- <version >3.9.0 </version >
47
+ <version >3.10.1 </version >
48
48
<configuration >
49
- <!-- The flag "enable-preview" is needed for preview language features
50
- like switch expressions in Java 12 -- >
49
+ <!-- needed for preview language features (like pattern switches were in Java 18) -->
50
+ < enablePreview >true</ enablePreview >
51
51
<compilerArgs >
52
52
<!-- get access to `@ReservedStackAccess` in `ReservedStackAccess` -->
53
53
<arg >--add-exports=java.base/jdk.internal.vm.annotation=org.codefx.demo.java_x</arg >
54
- <arg >--enable-preview</arg >
55
54
</compilerArgs >
56
55
</configuration >
57
56
</plugin >
101
100
</plugin >
102
101
<plugin >
103
102
<artifactId >maven-javadoc-plugin</artifactId >
104
- <version >3.3.1 </version >
103
+ <version >3.3.2 </version >
105
104
<configuration >
106
105
<sourcepath >src/main/java</sourcepath >
107
106
<subpackages >org.codefx.demo.java18.jvm.javadoc</subpackages >
118
117
</plugin >
119
118
<plugin >
120
119
<artifactId >maven-dependency-plugin</artifactId >
121
- <version >3.2 .0</version >
120
+ <version >3.3 .0</version >
122
121
<executions >
123
122
<execution >
124
123
<id >copy-installed</id >
You can’t perform that action at this time.
0 commit comments