From d99590306eda74d3cd90c8769e49736860147452 Mon Sep 17 00:00:00 2001 From: Andreas Gudian Date: Mon, 29 Aug 2016 21:07:05 +0200 Subject: [PATCH] #787 Enhance readme to use maven-compiler-plugin and add some badges. --- readme.md | 49 +++++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/readme.md b/readme.md index 3a993391b..dba4dab29 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,7 @@ # MapStruct - Java bean mappings, the easy way! -_Version: 1.0.0.Final, November 25th 2015_ +[![Latest Stable Version](https://img.shields.io/badge/Latest%20Stable%20Version-1.0.0.Final-blue.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.mapstruct%20AND%20v%3A1.*.Final) +[![Latest Version](https://img.shields.io/maven-central/v/org.mapstruct/mapstruct-processor.svg?maxAge=2592000&label=Latest%20Release)](http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.mapstruct) ## What is MapStruct? @@ -35,7 +36,6 @@ MapStruct is a Java annotation processor based on [JSR 269](jcp.org/en/jsr/detai For Maven based projects add the following to your POM file in order to use MapStruct (the dependencies can be obtained from Maven Central): ```xml - ... 1.0.0.Final @@ -44,13 +44,7 @@ For Maven based projects add the following to your POM file in order to use MapS org.mapstruct - mapstruct - ${org.mapstruct.version} - - - - org.mapstruct - mapstruct-jdk8 + mapstruct ${org.mapstruct.version} @@ -58,33 +52,20 @@ For Maven based projects add the following to your POM file in order to use MapS - org.bsc.maven - maven-processor-plugin - 2.2.4 + org.apache.maven.plugins + maven-compiler-plugin + 3.5.1 - - ${project.build.directory}/generated-sources - - - org.mapstruct.ap.MappingProcessor - + 1.6 + 1.6 + + + org.mapstruct + mapstruct-processor + ${org.mapstruct.version} + + - - - process - generate-sources - - process - - - - - - org.mapstruct - mapstruct-processor - ${org.mapstruct.version} - -