Filip Hrisafov
2e09944b19
#1213 General code cleanups:
...
* #122 Use util methods when possible
* Fix some warnings in Javadoc generation
* Don't use raw classes when not needed
* Add .yml, binding.xjb and .asciidoc files to license check exclusion
2017-05-24 14:15:46 +02:00
Filip Hrisafov
f2ad90042c
Update assertj and used dedicated method in tests ( #1204 )
2017-05-24 08:07:59 +02:00
Filip Hrisafov
70dbdcde0d
Disable codecov/patch statuses
2017-05-23 22:13:52 +02:00
navpil
75fa2fb0f7
#122 Minor formatting changes
2017-05-20 08:38:00 +02:00
navpil
5dd0097cc9
#122 Suggest property name in error message when referring to a non-existent property
2017-05-20 08:38:00 +02:00
Filip Hrisafov
9415bb0999
Add travis, codecov, license and gitter badges
2017-05-17 22:44:09 +02:00
Filip Hrisafov
65b0e4d3c5
#1194 Setup code coverage analysis with codecov
2017-05-17 22:44:09 +02:00
Filip Hrisafov
7cf77f4c26
#1154 Add SPI for excluding types/elements from automatic sub-mapping generation
...
Default implementation of SPI ignores types in the java/javax packages
2017-05-17 22:34:23 +02:00
Filip Hrisafov
459354b6b8
#1153 Do not use invalid TargetReferences when creating nested target mappings
...
* Move the error generation for the invalid TargetReference into the BuilderFromTargetMapping
* TargetReference will strip the first entry name in the following cases only if the first entry name matches the MappingTarget parameter, or for reverse mappings it matches the source parameter name
* Pass the reverse source parameter when initializing a reverse mapping
2017-05-06 23:26:51 +02:00
Filip Hrisafov
aa6cda1177
Use anchors for the sections and add Filip to the authors
2017-05-06 15:15:16 +02:00
Filip Hrisafov
15133d5a0f
#777 Set initial capacity for new collection / map element in collection / map mappings
2017-05-06 15:04:42 +02:00
Filip Hrisafov
763deaa917
#1164 Split the SetterWrapperForCollections into multiple models:
...
* SetterWrapperForCollectionsAndMaps - Does a simple assignment without doing any null checks
* SetterWrapperForCollectionsAndMapsWithNullCheck - Does an assignment that does a null check before assignment and takes direct assignment into consideration
* ExistingInstanceSetterWrapperForCollectionsAndMaps - Used for wrapping an assignment when the method is an update method
Additionally don't do local var assignment if there are presence checkers
2017-04-25 22:41:51 +02:00
Filip Hrisafov
25401794b0
Add the workaround for Travis in the processor pom
2017-04-23 13:23:15 +02:00
Filip Hrisafov
63689e67a0
Make sure that surefire keeps the argline modified by jacoco
2017-04-23 13:08:47 +02:00
Filip Hrisafov
267c2e98f9
#993 Add support for disabling the generation of forged mapping methods
2017-04-20 23:37:16 +02:00
Filip Hrisafov
5fccc6c2d5
#1171 Add Travis CI ( #1172 )
2017-04-06 21:22:38 +02:00
Filip Hrisafov
bbff0c0349
#1164 Make sure that all import types of a Type are imported for the collection and map wrappers
2017-03-31 21:41:08 +02:00
Filip Hrisafov
fdf37cf451
#725 Flag the Annotation element with the wrong dateFormat
2017-03-30 19:18:57 +02:00
Filip Hrisafov
c465dd27c6
#1155 Field accessors should be considered when resolving nested target properties
2017-03-25 08:44:21 +01: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
1.2.0.Beta2
2017-03-16 20:33:19 +01:00
navpil
fc8ded0dec
#1103 Fix issue with recursive mapping throwing a StackOverflow
2017-03-16 20:00:05 +01:00
Filip Hrisafov
9881a8803c
#1104 use unmapped target policy for forged name based mappings
2017-03-15 22:04:58 +01:00
sjaakd
e154452d53
#1126 Add new CollectionMappingStrategy TARGET_IMMUTABLE
2017-03-14 21:36:36 +01:00
Andreas Gudian
cab7596a47
#1130 Consider the right target type for object factory methods
2017-03-13 22:11:34 +01:00
Filip Hrisafov
57bf93bb84
#1092 Add github id next to contributers
2017-03-13 20:34:22 +01:00
Andreas Gudian
f7b6d91d5e
#1124 Don't pass context parameters to forged methods for nested property mapping methods
2017-03-12 16:03:09 +01:00
Filip Hrisafov
d4c6250944
#1102 Add support for Auto forging of Enum properties
2017-03-12 15:34:46 +01:00
sjaakd
12f1cc0777
#1121 TypeMirror should not be used as hashCode base for Type
2017-03-08 22:17:20 +01:00
Gunnar Morling
86d05f64d2
#1119 removing superfluous method override
2017-03-02 21:30:18 +01:00
sjaakd
8fab3dd4e5
#1111 local variabele should not clash with loop variable
2017-03-02 20:16:41 +01:00
Filip Hrisafov
880ae56652
#1109 Add import for @Qualifier in the documentation
2017-03-01 22:15:52 +01:00
sjaakd
58992b8edf
#1105 cleaning up MethodReference freemarker template
2017-02-26 11:39:14 +01:00
Gunnar Morling
8353f53ab9
#1101 Fixing confusing method name in test mapper
2017-02-26 10:02:49 +01:00
sjaakd
fa20d03051
#1065 @InheritReverseConfiguration from MappingConfig
2017-02-23 22:08:09 +01:00
Gunnar Morling
13c3d878d8
Updating link to ref guide
2017-02-22 20:31:19 +01:00
Filip Hrisafov
7d56a85dbd
Fix checkstyle error
2017-02-21 21:48:30 +01:00
Filip Hrisafov
f654da2563
#1059 Add ftlvariable to the ftl files so we can have autocomplete with IntelliJ
2017-02-21 21:36:01 +01:00
Filip Hrisafov
0f6d5ff0f8
Fix checkstyle error
2017-02-21 21:35:04 +01:00
Filip Hrisafov
10aeb444f5
#1091 Map ANY_REMAINING Enum source to null
2017-02-21 20:43: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
1.2.0.Beta1
2017-02-20 20:58:12 +01:00
Sjaak Derksen
582bbe4412
#1057 documentation for Controlling forged name based bean mapping from root level with @Mapping
2017-02-20 19:21:15 +01:00
Filip Hrisafov
51e5976a7f
#1001 Update documentation for the new automapping
2017-02-20 19:19:42 +01:00
Filip Hrisafov
d4b0f3324b
#1057 Add some explanatory comments / Javadoc
2017-02-20 00:19:31 +01:00
Filip Hrisafov
3192345e33
#1057 Add source fixtures for tests
2017-02-20 00:19:31 +01:00
Filip Hrisafov
665f2571b6
#1057 Add forged named based parameter to distinguish between our methods that MapStruct has to create and methods that we create for the internal framework
2017-02-20 00:19:31 +01:00
Filip Hrisafov
f0646c6287
#1057 Add full support for controlling name based mapping from root level with @Mapping
2017-02-20 00:19:31 +01:00
Filip Hrisafov
378961fc53
#1057 Add ReportingPolicy to the BeanMapping
...
Use ReportingPolicy for explicitly ignoring unmapped target properties in
forged methods.
2017-02-20 00:19:31 +01:00
sjaakd
6f51cf4a8a
#1057 Towards controlling name based mapping from root @Mapping
2017-02-20 00:19:31 +01:00