Merge pull request #1783 from chris922/update-readme

Update Readme / Java 1.8 required
This commit is contained in:
Christian Bandowski 2019-04-03 22:02:06 +02:00 committed by GitHub
commit 7a19b2ba75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,14 +51,16 @@ At compile time MapStruct will generate an implementation of this interface. The
## Requirements
MapStruct requires Java 1.6 or later.
MapStruct requires Java 1.8 or later.
## Using MapStruct
MapStruct works in command line builds (plain javac, via Maven, Gradle, Ant etc.) and IDEs.
MapStruct works in command line builds (plain javac, via Maven, Gradle, Ant, etc.) and IDEs.
For Eclipse, a dedicated plug-in is in development (see https://github.com/mapstruct/mapstruct-eclipse). It goes beyond what's possible with an annotation processor, providing content assist for annotation attributes, quick fixes and more.
For IntelliJ the plug-in is available within the IntelliJ marketplace (see https://plugins.jetbrains.com/plugin/10036-mapstruct-support).
### Maven
For Maven-based projects, add the following to your POM file in order to use MapStruct (the dependencies are available at Maven Central):
@ -82,7 +84,7 @@ For Maven-based projects, add the following to your POM file in order to use Map
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>