Skip to content

Commit d861412

Browse files
committed
Update documentation in order to reflect minimum JDK 17.
1 parent 52916f0 commit d861412

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/src/docs/asciidoc/chapter-2-set-up.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[setup]]
22
== Set up
33

4-
MapStruct Spring Extensions is a Java annotation processor based on http://www.jcp.org/en/jsr/detail?id=269[JSR 269] and as such can be used within command line builds (javac, Ant, Maven etc.) as well as from within your IDE. The minimum JDK version is 11.
4+
MapStruct Spring Extensions is a Java annotation processor based on http://www.jcp.org/en/jsr/detail?id=269[JSR 269] and as such can be used within command line builds (javac, Ant, Maven etc.) as well as from within your IDE. The minimum JDK version is 17.
55

66
IMPORTANT: Also, you will need MapStruct itself (at least version `1.4.0.Final`) in your project.
77

@@ -39,8 +39,8 @@ For Maven based projects add the following to your POM file in order to use MapS
3939
<artifactId>maven-compiler-plugin</artifactId>
4040
<version>3.8.1</version>
4141
<configuration>
42-
<source>1.8</source>
43-
<target>1.8</target>
42+
<source>17</source>
43+
<target>17</target>
4444
<annotationProcessorPaths>
4545
<path>
4646
<groupId>org.mapstruct.extensions.spring</groupId>
@@ -226,7 +226,7 @@ Add the `javac` task configured as follows to your _build.xml_ file in order to
226226
<javac
227227
srcdir="src/main/java"
228228
destdir="target/classes"
229-
classpath="path/to/mapstruct-spring-annotations{mapstructSpringExtensionsVersion}.jar">
229+
classpath="path/to/mapstruct-spring-annotations-{mapstructSpringExtensionsVersion}.jar">
230230
<compilerarg line="-processorpath path/to/mapstruct-spring-extensions-{mapstructSpringExtensionsVersion}.jar"/>
231231
<compilerarg line="-s target/generated-sources"/>
232232
</javac>

0 commit comments

Comments
 (0)