mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Update latest release badge and update readme with 1.3.0.Final
This commit is contained in:
parent
a28f2cb9cf
commit
d282261ddf
16
readme.md
16
readme.md
@ -1,6 +1,6 @@
|
|||||||
# MapStruct - Java bean mappings, the easy way!
|
# MapStruct - Java bean mappings, the easy way!
|
||||||
|
|
||||||
[](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.mapstruct%20AND%20v%3A1.*.Final)
|
[](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.mapstruct%20AND%20v%3A1.*.Final)
|
||||||
[](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.mapstruct)
|
[](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.mapstruct)
|
||||||
[](https://github.com/mapstruct/mapstruct/blob/master/LICENSE.txt)
|
[](https://github.com/mapstruct/mapstruct/blob/master/LICENSE.txt)
|
||||||
|
|
||||||
@ -64,13 +64,13 @@ For Maven-based projects, add the following to your POM file in order to use Map
|
|||||||
```xml
|
```xml
|
||||||
...
|
...
|
||||||
<properties>
|
<properties>
|
||||||
<org.mapstruct.version>1.2.0.Final</org.mapstruct.version>
|
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
|
||||||
</properties>
|
</properties>
|
||||||
...
|
...
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mapstruct</groupId>
|
<groupId>org.mapstruct</groupId>
|
||||||
<artifactId>mapstruct</artifactId> <!-- OR use this with Java 8 and beyond: <artifactId>mapstruct-jdk8</artifactId> -->
|
<artifactId>mapstruct</artifactId>
|
||||||
<version>${org.mapstruct.version}</version>
|
<version>${org.mapstruct.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
@ -82,8 +82,8 @@ For Maven-based projects, add the following to your POM file in order to use Map
|
|||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.5.1</version>
|
<version>3.5.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>1.6</source> <!-- or 1.7 or 1.8, .. -->
|
<source>1.8</source>
|
||||||
<target>1.6</target>
|
<target>1.8</target>
|
||||||
<annotationProcessorPaths>
|
<annotationProcessorPaths>
|
||||||
<path>
|
<path>
|
||||||
<groupId>org.mapstruct</groupId>
|
<groupId>org.mapstruct</groupId>
|
||||||
@ -115,10 +115,10 @@ apply plugin: 'net.ltgt.apt-eclipse'
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
...
|
...
|
||||||
compile 'org.mapstruct:mapstruct:1.2.0.Final' // OR use this with Java 8 and beyond: org.mapstruct:mapstruct-jdk8:...
|
compile 'org.mapstruct:mapstruct:1.3.0.Final'
|
||||||
|
|
||||||
annotationProcessor 'org.mapstruct:mapstruct-processor:1.2.0.Final'
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.3.0.Final'
|
||||||
testAnnotationProcessor 'org.mapstruct:mapstruct-processor:1.2.0.Final' // if you are using mapstruct in test code
|
testAnnotationProcessor 'org.mapstruct:mapstruct-processor:1.3.0.Final' // if you are using mapstruct in test code
|
||||||
}
|
}
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user