Filip Hrisafov
bc010a52dc
#1738 : Use typeBound for the return type of the nested property mapping method and for the definition of the properties within the method
2019-03-15 20:36:03 +01:00
Filip Hrisafov
4f2f546ffc
Update plugins to latest versions
2019-03-15 20:35:13 +01:00
Filip Hrisafov
07590cc0d1
Add Open JDK 12 to the Travis CI matrix
2019-03-09 21:50:57 +01:00
Filip Hrisafov
b9b9b60a38
Travis CI deploy snapshots only from the mapstruct/mapstruct repo + skip build of distribution when deploying
2019-03-09 21:39:41 +01:00
Filip Hrisafov
5e96dc8085
Deploy coverage reports only on JDK 8 + deploy snapshots only from JDK 8 build
2019-03-09 21:17:16 +01:00
Filip Hrisafov
3e6ea0ef8f
Update Javadoc and set source to 8 for proper compilation on Java 11
...
See https://bugs.openjdk.java.net/browse/JDK-8212233 for more information
2019-03-09 20:19:28 +01:00
Filip Hrisafov
92bed79144
Fix .travis.yml
2019-03-09 20:05:41 +01:00
Filip Hrisafov
643cc85e50
#1675 Tests should run properly in Java 11
...
* Add Travis CI build matrix to run build on OpenJDK 11 and EA
* Add regex for the Java 11 Generated annotation in order for the JavaFileAssert to work properly
* Do not use eclipse compiler if running on Java 9+
* Add JDK11 util compiler that reports all errors (also when multiple on same line)
* Whitelist jaxb-api to the test compilation classpath
* Add specific ignores for running some tests with Java 11 (See https://bugs.openjdk.java.net/browse/JDK-8211262 , there is a difference in the default formats on Java 9+)
2019-03-09 19:54:40 +01:00
Gunnar Morling
ae3758674a
#1675 Making MapStruct compileable with OpenJDK 11
2019-03-09 19:54:40 +01:00
Sjaak Derksen
98d86cee84
#1745 refactoring source reference ( #1746 )
2019-03-09 18:36:33 +01:00
Sjaak Derksen
6c1108d5bb
#1698 Skip "java.lang.Object" as intermediate result additional unit test ( #1737 )
2019-02-25 20:56:28 +01:00
Sjaak Derksen
51bd43fc1b
#1719 strange error message for selecting collection update methods ( #1724 )
2019-02-25 19:47:53 +01:00
Xavier RENE-CORAIL
002a8b0562
Add LGTM.com code quality badges
2019-02-19 21:49:25 +01:00
Filip Hrisafov
635cdbf4ea
Add Thibault to copyright.txt
2019-02-14 22:27:43 +01:00
Thibault Duperron
60208b67af
#1435 add import to MapperConfig
2019-02-14 22:24:42 +01:00
Sjaak Derksen
23608477b7
#1698 Skip "java.lang.Object" as intermediate result in 2 step mappings ( #1712 )
2019-02-12 10:17:50 +01:00
Sjaak Derksen
160549a788
#1142 update documentation ( #1710 )
...
* #1142 update documentation
* #1142 comment
2019-02-10 22:08:38 +01:00
Filip Hrisafov
d282261ddf
Update latest release badge and update readme with 1.3.0.Final
2019-02-10 12:28: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
1.3.0.Final
2019-02-10 11:48:19 +01:00
Filip Hrisafov
9762082703
Use Java 8 Javadoc links
2019-02-10 11:43:19 +01:00
Sjaak Derksen
3c079e412a
#1707 fix for not defining local variable in stream-iterable mapping ( #1708 )
2019-02-10 10:31:51 +01:00
Filip Hrisafov
eca7433103
#1694 Avoid circular dependency between model and conversion packages
...
Remove import of SimpleConversion used in the javadoc of the BuiltIntMethod
Fixes #1694
2019-02-10 09:09:17 +01:00
Filip Hrisafov
2ea5dcf400
Add Andres and Taras to copyright.txt
2019-02-09 21:38:24 +01:00
Sjaak Derksen
07c7a29adc
#1700 Optimizing code for adders and stream adders ( #1701 )
2019-01-29 20:02:23 +01:00
Sjaak Derksen
0981959ff0
#1699 add sensible defaults to NullValuePropertyMapping.SET_TO_DEFAULT ( #1702 )
2019-01-28 22:47:37 +01:00
Filip Hrisafov
884ca2507a
Mark the Immutables BuilderProvider and AccessorNamingStrategy and the FreeBuilderAccessorNamingStrategy as Experimental ( #1692 )
2019-01-27 21:21:25 +01:00
Sjaak Derksen
57caee250f
#1685 completing nullvaluepropertymappingstrategy ( #1697 )
2019-01-27 21:09:44 +01:00
Andres Jose Sebastian Rincon Gonzalez
abd1cfb6a1
#1695 update gradle installation
2019-01-22 22:49:30 +01:00
Filip Hrisafov
73a1ab1e8a
#1681 Do not call finaliser method on return when @MappingTarget is not a builder
2019-01-20 17:05:52 +01:00
Filip Hrisafov
b46682f95b
Go back to using 3.0.0-M1 of the maven-enforcer-plugin
...
Once https://issues.apache.org/jira/browse/MENFORCER-306 is fixed we can upgrade the plugin again
2019-01-20 15:28:55 +01:00
Christian Bandowski
0e33ad4bbc
#1657 Add Mappers.getMapperClass for getting the class of a Mapper
2018-12-22 15:19:39 +01:00
Sjaak Derksen
743361ca45
#1650 cannot find symbol nested mapping mappingtarget ( #1671 )
...
* #1650 reproducer
* #1650 fix cannot-find-symbol
* #1650 reproducer, extended
2018-12-20 21:12:37 +01:00
Filip Hrisafov
8edc6f82aa
Add Arne to copyright.txt
2018-12-11 18:36:09 +01:00
Arne Seime
e2915c864e
#1665 Box any primitives before attempting type comparison for adder accessors
2018-12-11 18:33:50 +01:00
Taras Mychaskiw
780fd73928
#1656 Support for mapping between String and java.time Duration, Period, Instant
2018-12-08 20:25:42 +01:00
Filip Hrisafov
d1fe65dbad
#1660 Consider only public not static accessor methods as possible getter, setter, presence check and / or adder methods
2018-12-01 21:26:55 +01:00
Filip Hrisafov
9a43b210d3
Add since tag to new API elements
2018-11-24 02:07:31 +01:00
Filip Hrisafov
a3ba57c372
#1648 Source properties defined in Mapping should not be reported as unmapped
2018-11-18 10:11:11 +01:00
Sjaak Derksen
b651ad34b5
#1649 Improvement: builder for Mapper/Decorator/GeneratedType
2018-11-18 08:44:57 +01:00
Filip Hrisafov
2977c2e614
#1645 Use Repeatable Mapping annotation in the reference documentation
2018-11-11 13:57:42 +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
1.3.0.Beta2
2018-11-11 09:19:05 +01:00
Sjaak Derksen
cf668bea77
#1576 Delay determining whether a Type needs to be imported & java.time cleanup ( #1642 )
2018-11-06 07:36:09 +00:00
Filip Hrisafov
3ff4ebd60a
#1640 Add init method with MapStructProcessingEnvironment to the BuilderProvider for initializing the Elements and Types
2018-11-03 15:48:16 +01:00
Sjaak Derksen
1266796921
#1504 adding position hints for ambiguous mapping methods ( #1639 )
2018-11-03 08:57:42 +00:00
Filip Hrisafov
60611d94cf
Add more info for the FreeBuilder support in the documentation
...
* Add the usage of the FreeBuilderAccessorNamingStrategy when FreeBuilder is present
* And the fact that the JavaBean convention should be followed when using FreeBuilder
2018-11-03 09:03:22 +01:00
Filip Hrisafov
a0ae8750a1
Adapt japicmp-maven-plugin to not consider adding a new default method to an interface as incompatible
...
According to https://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html#jls-13.5.3
Adding an abstract (default) method to an interface does not break compatibility with pre-existing binaries.
2018-11-03 08:55:10 +01:00
Filip Hrisafov
104ebf88da
Add a FreeBuilder specific AccessNamingStrategy
...
The builder created by FreeBuilder have different fluent methods created.
When using FreeBuilder one needs to use the JavaBean convention for the getters (as otherwise MapStruct won't recognize them),
this leads to FreeBuilder creating fluent setters that start with set (so we can safely ignore all other fluent setters)
2018-11-03 08:55:10 +01:00
Filip Hrisafov
6f19d56155
#1566 , #1253 Add support for initializing the AccessorNamingStrategy with Elements and Types and use Types for determining fluent setters
...
* This allows using generic builders
2018-11-03 08:55:10 +01:00