77 Commits

Author SHA1 Message Date
Filip Hrisafov
fc4f65ddb6 [maven-release-plugin] prepare release 1.4.0.Beta2 2020-07-05 23:11:41 +02:00
Filip Hrisafov
d87d75a7a8 [maven-release-plugin] prepare for next development iteration 2020-06-01 13:42:32 +02:00
Filip Hrisafov
72ce5f3bd2 [maven-release-plugin] prepare release 1.4.0.Beta1 2020-06-01 13:42:32 +02:00
Filip Hrisafov
2b2299a730 #73 Add support for using constructor arguments when instantiating mapping targets
By default the constructor argument names are used to extract the target properties.
If a constructor is annotated with an annotation named `@ConstructorProperties` (from any package) then it would be used to extract the target properties.

If a mapping target has a parameterless empty constructor it would be used to instantiate the target.
When there are multiple constructors then an annotation named `@Default` (from any package) can be used to mark a constructor that should be used by default when instantiating the target.

Supports mapping into Java 14 Records and Kotlin data classes out of the box
2020-04-26 12:44:41 +02:00
Filip Hrisafov
c58f80cc5f #2069 Refactor target reference to report errors during bean mapping instead of creation of the target reference
With this we can more easily go in the direction of using constructor to map into target beans.
2020-04-13 13:20:09 +02:00
Filip Hrisafov
b7d5e557c1 Checkstyle max line length should be 120 2020-04-05 09:29:00 +02:00
Filip Hrisafov
95ceba1a1e #2016 Update Checkstyle to 8.29
Adapt checkstyle configuration with new changes:
* Move cacheFile to Checker module
* Move LineLength to Checker module
* Use SuppressWithPlainTextCommentFilter
2020-02-02 14:33:45 +01:00
Sjaak Derksen
2d3761051a
#2011 Introduce gem as replacement of hickory:prism (#2007) 2020-01-27 20:16:04 +01:00
Filip Hrisafov
a28f2cb9cf [maven-release-plugin] prepare for next development iteration 2019-02-10 11:48:20 +01:00
Filip Hrisafov
984423dfee [maven-release-plugin] prepare release 1.3.0.Final 2019-02-10 11:48:19 +01:00
Filip Hrisafov
ced7f3b024 [maven-release-plugin] prepare for next development iteration 2018-11-11 09:19:06 +01:00
Filip Hrisafov
3f2c1cee55 [maven-release-plugin] prepare release 1.3.0.Beta2 2018-11-11 09:19:05 +01:00
Filip Hrisafov
ec413118d6
Update build with latest dependencies and Java 8 baseline: (#1636)
* Do not use maven-processor-plugin and use the maven-compiler-plugin annotationProcessors instead
* Update NoPackageCyclesRule and exclude tests
* Update checkstyle to 8.14 and remove FIleContentsHolder module and move SuppressionCommentFilter to the TreeWalker
* Update assertj to 3.11.1 and replace usage of RuntimeIOException (from AssertJ) with UncheckedIOException (from java 8)
* Add how to import MapStruct into IntelliJ and Eclipse into the readme
2018-10-28 21:39:35 +01:00
Filip Hrisafov
e29c25e5cb [maven-release-plugin] prepare for next development iteration 2018-07-15 19:51:45 +02:00
Filip Hrisafov
c189aa7bb5 [maven-release-plugin] prepare release 1.3.0.Beta1 2018-07-15 19:51:44 +02:00
MapStruct Team
b35126e609 #1411 Update copyright header on all files
* Use new shorter copyright header without a year
* Use SLASHSTAR_STYLE for Java files
2018-07-15 19:29:28 +02:00
Filip Hrisafov
de76a87019 [maven-release-plugin] prepare for next development iteration 2017-10-17 23:12:53 +02:00
Filip Hrisafov
a2176493e7 [maven-release-plugin] prepare release 1.2.0.Final 2017-10-17 23:12:52 +02:00
Filip Hrisafov
af8d48c797 #1281 Do not depend on deprecated sonatype parent 2017-09-07 17:47:18 +02:00
Filip Hrisafov
e79949ed0f [maven-release-plugin] prepare for next development iteration 2017-08-28 20:22:54 +02:00
Filip Hrisafov
322e77e52b [maven-release-plugin] prepare release 1.2.0.CR2 2017-08-28 20:22:54 +02:00
Filip Hrisafov
0540a00263 [maven-release-plugin] prepare for next development iteration 2017-07-15 10:21:42 +02:00
Filip Hrisafov
03f6434aa7 [maven-release-plugin] prepare release 1.2.0.CR1 2017-07-15 10:21:41 +02:00
Filip Hrisafov
0d66618d45 [maven-release-plugin] prepare for next development iteration 2017-05-30 23:27:41 +02:00
Filip Hrisafov
b3e7c52076 [maven-release-plugin] prepare release 1.2.0.Beta3 2017-05-30 23:27:40 +02:00
Andreas Gudian
01d9997ed6 [maven-release-plugin] prepare for next development iteration 2017-03-16 20:33:20 +01:00
Andreas Gudian
daedc88425 [maven-release-plugin] prepare release 1.2.0.Beta2 2017-03-16 20:33:19 +01:00
Andreas Gudian
3cc8972126 [maven-release-plugin] prepare for next development iteration 2017-02-20 20:58:14 +01:00
Andreas Gudian
520451bcd8 [maven-release-plugin] prepare release 1.2.0.Beta1 2017-02-20 20:58:12 +01:00
Andreas Gudian
48d7963cca Merge branch '1.1-master' 2017-01-05 22:04:29 +01:00
Andreas Gudian
b02f8e5df5 #1032 Update license headers to 2017 2017-01-05 18:55:26 +01:00
Andreas Gudian
050c398da6 #966 Avoid missing newlines between methods and multiple newlines (generally) by adding a checkstyle rule, fixing current incarnations. 2016-12-01 21:52:58 +01:00
Andreas Gudian
62721b207b [maven-release-plugin] prepare for next development iteration 2016-11-18 21:45:42 +01:00
Andreas Gudian
b0b816f552 [maven-release-plugin] prepare release 1.1.0.Final 2016-11-18 21:45:41 +01:00
Andreas Gudian
44f7070e75 Update version on master branch to 1.2.0-SNAPSHOT 2016-11-07 21:08:42 +01:00
Andreas Gudian
d83be86994 [maven-release-plugin] prepare for next development iteration 2016-11-07 20:52:04 +01:00
Andreas Gudian
4eb8fae8df [maven-release-plugin] prepare release 1.1.0.CR2 2016-11-07 20:52:03 +01:00
Andreas Gudian
af68fcf616 [maven-release-plugin] prepare for next development iteration 2016-09-07 20:27:36 +02:00
Andreas Gudian
9ed807196e [maven-release-plugin] prepare release 1.1.0.CR1 2016-09-07 20:27:34 +02:00
Andreas Gudian
1b6b5f18bb [maven-release-plugin] prepare for next development iteration 2016-07-22 21:20:25 +02:00
Andreas Gudian
e23056c9dd [maven-release-plugin] prepare release 1.1.0.Beta2 2016-07-22 21:20:24 +02:00
Andreas Gudian
d74f73aa2d [maven-release-plugin] prepare for next development iteration 2016-03-16 20:48:00 +01:00
Andreas Gudian
deacfc2c6a [maven-release-plugin] prepare release 1.1.0.Beta1 2016-03-16 20:47:59 +01:00
Gunnar Morling
34aceff5f8 #723 Updating year in license headers 2016-01-16 18:00:09 +01:00
Gunnar Morling
1e318e3405 [maven-release-plugin] prepare for next development iteration 2015-11-25 22:56:43 +01:00
Gunnar Morling
8fb0424326 [maven-release-plugin] prepare release 1.0.0.Final 2015-11-25 22:56:40 +01:00
Andreas Gudian
c43b495863 [maven-release-plugin] prepare for next development iteration 2015-08-27 10:58:55 +02:00
Andreas Gudian
7e7285ac49 [maven-release-plugin] prepare release 1.0.0.CR2 2015-08-27 10:58:55 +02:00
Gunnar Morling
33e6822694 [maven-release-plugin] prepare for next development iteration 2015-06-03 23:19:10 +02:00
Gunnar Morling
ee6c392870 [maven-release-plugin] prepare release 1.0.0.CR1 2015-06-03 23:19:10 +02:00