Filip Hrisafov
3bffe96983
#1159 : Do not fail loading AnnotationProcessorContext if loading AstModifyingAnnotationProcessor fails
2020-04-13 17:40:47 +02:00
Filip Hrisafov
a845197b0b
#2056 : Handle null TypeMirror in uses and import gracefully
...
Due to a bug in javac (JDK-8229535) for an annotation with Class values, instead of returning a TypeMirror with TypeKind#ERROR the compiler returns the string "<error>". Eclipse doesn't have this problem currently.
2020-04-10 11:20:20 +02:00
Filip Hrisafov
c410379f83
#1553 : Update tycho-compiler-jdt to latest 1.6.0 version
...
Disable one test in GenericsHierarchyTest for Eclipse on Java 8 due to a bug in the Tycho compiler.
Disable freeBuilder integration test for Eclipse since there are some problems in the second round of annotation processing (no ModelElementProcessor(s) are found)
2020-04-10 09:33:09 +02:00
Filip Hrisafov
853ff7f74f
#2060 : MapStruct should work properly on the module path
2020-04-05 16:37:51 +02:00
Filip Hrisafov
f8a3924005
Use fix version for maven-processor-plugin
...
Using the latest (4.0-beta1) does not work on Java 8 since it is compiled with Java 9
2020-03-07 16:44:19 +01:00
Filip Hrisafov
f5771c4177
#2014 Add support for mapping from Java 14 records
2020-02-23 13:34:08 +01:00
Filip Hrisafov
c64e03468e
Fix Checkstyle error
2020-02-07 17:35:51 +01:00
Filip Hrisafov
f382903bc6
Add proper attribution for the code for generating the sourceTargetVersion for other JRE
2020-02-04 13:05:53 +01:00
Filip Hrisafov
02a113b2d4
#1308 Switch to JUnit Jupiter and do not use Toolchains for the integration tests ( #2013 )
...
The CI should be setup to run on different Java versions, for which the integration tests are going to be run
2020-02-03 21:56:48 +01:00
ttzn
779eb1bd47
#1420 Add support for Gradle incremental annotation processing ( #1971 )
...
* Add relevant file in META-INF
* Add integration test with Gradle test kit dependencies
* Test with Gradle 5 and Gradle 6
2019-12-08 19:55:16 +01:00
Andrei Arlou
b26cd4e0cb
#1953 Fix TODO items for: integrationtest-java8Test, integrationtest-lombokBuilderTest, processor-nullvaluemappingTest ( #1955 )
2019-10-26 22:24:59 +03:00
Sjaak Derksen
7e0327767f
#1801 Using constructor as builderCreationMethod in custom builder ( #1905 )
2019-09-15 21:43:22 +02:00
Andrei Arlou
e068564017
#724 Remove JaxbMapper from integration test ( #1892 )
2019-09-14 02:48:22 +03:00
Andrei Arlou
59a5182dab
Fix minor warnings:
...
remove unnecessary generic type for collections,
replace Charset.forName on StandartCharset
2019-08-18 16:24:14 +02:00
Florian Tavares
d81d3e46a4
#1301 Use Java 8 as baseline for MapStruct
...
* Move classes from mapstruct-common into mapstruct
* Use Java 8 @Repeatable for @Mappings and @ValueMappings in the mapstruct module
* Add relocation for mapstruct-jdk8 to mapstruct
* Use of 1.8 source and target versions from parent POM
* Update documentation to match
* Update versions of some maven plugin crashing build on Java 8
* Drop JDK 6 & 7 support in integration tests
* Remove mapstruct-common module (it was never deployed to Central)
2018-10-15 22:16:33 +02:00
Sjaak Derksen
13aa947421
#1569 Reproducer missing Immubable buildertype import ( #1605 )
2018-09-12 16:26:09 +02:00
Saheb Preet Singh
08067b7f17
#1524 replaced java.beans.Introspector with a custom IntrospectorUtils class to avoid java.desktop module
2018-08-11 22:19:21 +02:00
Christian Bandowski
0fa964038c
#1499 Add Protobuf builder integration test
...
* Don't run the ProtobufBuilderTest with the processor_plugin_java8 and eclipse_jdt_java_8 (processor plugin runs before the proto java classes are created and the eclipse plugin has some bug)
* Include *.proto for license checks
2018-07-15 20:53:13 +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
7306c52529
#1415 Use Immutables AccesorNamingStrategy and BuilderProvider when immutables are present
...
This allows out of the box support for Immutables by picking the right default strategy when immutables are present
2018-05-01 18:26:34 +02:00
Filip Hrisafov
720854913a
Disable running the annotation processing in the module defining it
2018-05-01 18:26:34 +02:00
Christian Bandowski
5540efc482
#1425 Added findType to VirtualMappingMethod and use it in all builtin templates
...
Together with the includeModel directive this will ensure that the type will be written to the file as a FQN if required, otherwise as a simple name.
2018-04-21 18:59:29 +02:00
Filip Hrisafov
43a9419c33
#1417 Add documentation about the builder support
2018-04-15 10:31:45 +02:00
Filip Hrisafov
c3f0099698
#782 Do not use JDT for the Lombok integration tests
...
Lombok uses internals of the Java and Eclipse compilers.
In order for it to work with the Eclipse compiler, we need to add some extra jar.
Therefore, we are only testing Lombok with the Java compiler
2018-04-04 19:26:22 +02:00
Filip Hrisafov
22c337a947
#782 Add custom SPI implementations for Immutables in the integration tests
2018-04-04 19:26:22 +02:00
Filip Hrisafov
252af70bae
Add new processor suite that ignores the maven procesor plugin
...
The maven-processor-plugin does not take classpath dependencies during the processing
2018-04-04 19:26:22 +02:00
Filip Hrisafov
70419f91b0
#782 The builder type from lombok is not present during the annotation processing phase
2018-04-04 19:26:22 +02:00
Filip Hrisafov
dbc7c8a84d
#782 Add integration tests for builders with FreeBuilder
2018-04-04 19:26:22 +02:00
Filip Hrisafov
45ab6e1c52
#782 Add integration tests for builders with AutoValue
2018-04-04 19:26:22 +02:00
Filip Hrisafov
bf8f037a19
#782 Add integration tests for builders with immutables
2018-04-04 19:26:22 +02:00
Eric Martineau
3d45d072e7
#782 Add tests for builders
2018-04-04 19:26:22 +02:00
sjaakd
4d8bc29347
#1255 Extension of autoInheritanceStrategy, removing of name based ignore reverse mapping
2017-08-23 22:54:10 +02:00
Cornelius
b5b0c04313
#1170 Fix wildcards in collection adder mappings
2017-06-29 00:01:49 +02:00
sjaakd
12f1cc0777
#1121 TypeMirror should not be used as hashCode base for Type
2017-03-08 22:17:20 +01:00
Gunnar Morling
6e545347d0
#1045 Supporting mappers with generated source/target types by deferring their generation to a later round
2017-01-31 22:03:31 +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
sjaakd
9996fc66ab
#878 disable AcessorNamingStrategy#getCollectionGetterName from SPI
2016-09-05 21:28:14 +02:00
Filip Hrisafov
cf88cf9e92
#860 switch to using assertj instead of FEST assertions
2016-08-27 13:10:42 +02:00
sjaakd
70ba92b229
#389 Nested target properties
2016-07-20 22:00:21 +02:00
Andreas Gudian
051177e409
#825 Add @WithServiceImplementation annotation in testutil to register SPI implementations in processor tests.
2016-07-05 20:51:24 +02:00
Sam Wright
5ede0e91db
#664 Annotate mapper implementations with @Singleton when using jsr330.
2016-02-02 19:52:24 +01:00
Vincent Alexander Beelte
f84938f46e
find information in XmlElementRef annotations to match it against XmlElementDecl to implement #726
2016-01-19 19:08:38 +01:00
Gunnar Morling
34aceff5f8
#723 Updating year in license headers
2016-01-16 18:00:09 +01:00
Andreas Gudian
1ae3d07388
#701 Update checkstyle version and fix several previously undetected issues in our code (mostly missing whitespaces and redundant modifiers) and in the generated code (superflous whitespaces before commas)
...
Requrires update of guava and cdi-weld do to dependency convergence.
2016-01-02 17:50:09 +01:00
Andreas Gudian
5831e824e1
Organize imports to put static imports back on top.
2015-12-18 23:08:56 +01:00
Andreas Gudian
c0b005429a
#691 Create an integration test that compiles all test mappers from the processor module with JDK 6/7/8/9, Eclipse JDT on language levels 1.6/1.7/1.8.
2015-12-18 22:01:40 +01:00
Gunnar Morling
8b35c63e9a
#693 Typo fix
2015-12-18 21:31:31 +01:00
Gunnar Morling
55b74ae384
#710 Deferring processing of mappers with incomplete source/target types to a later processing round
2015-12-17 23:53:20 +01:00