748 Commits

Author SHA1 Message Date
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
c59ef3ab7a #693 Renaming test entities in generics test for the sake of easier understanding 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
Gunnar Morling
03bf027858 #710 Excluding tools dependency from CheckStyle 2015-12-17 23:53:20 +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 1.0.0.Final 2015-11-25 22:56:40 +01:00
Gunnar Morling
a45611315a Updating readme.md prior to 1.0.0.Final release 2015-11-25 22:26:45 +01:00
Andreas Gudian
7c2b4c9541 #698 Fix missing import for enums in case of default values. 2015-11-25 19:56:42 +01:00
Andreas Gudian
dde84306ab #644 Only delegate to the Eclipse-specific workaround when the compiler is actually identified as Eclipse JDT 2015-11-16 20:32:41 +01:00
Andreas Gudian
76603416e7 #644 Basically reverting changes made for #127, with a fix for handling super-bounds in JDK (failed after wrapping Types in TypesDecorator). Moved most of the logic of Types.getTypeBounds() to TypeFactory. 2015-11-13 22:06:53 +01:00
Andreas Gudian
874a9b3a52 #644 Add more elaborate test case for inheritance with generics with multiple overlapping interfaces 2015-11-13 22:05:22 +01:00
Andreas Gudian
e4bbfdaaa6 #688 Fix handling of overridden methods in adjacent interface hierarchies. 2015-11-13 22:04:32 +01:00
Andreas Gudian
fc660e2c02 #687 Fix detection of source property type in case the mapping is specified via annotation 2015-11-13 22:04:31 +01:00
Andreas Gudian
8a3d5418df #644 Workaround for problems with the Eclipse implementation of asMemberOf. Refactored SpecificCompilerWorkarounds to be primarily used through a decorated variant of Types that is now used throughout MapStruct. 2015-11-13 22:04:31 +01:00
Andreas Gudian
2291f2dedd #667 Fix execution of single test methods in some cases. 2015-11-09 22:54:48 +01:00
Andreas Gudian
58e7079ad5 #667 Add/Fix javadoc, clarify supported modes of concurrency. 2015-11-09 22:54:48 +01:00
Andreas Gudian
aba26328ba #667 Run all processor tests with both the JDK compiler and the Eclipse compiler.
All generated sources and compilation results are kept in a new directory structure, making manual inspection easier, and also simplifying parallel test-class execution.
2015-11-09 22:54:47 +01:00
Andreas Gudian
af9b54fa4f #684 Update joda-time to fix an incompatibility with JDK 1.8.0_60 and later, and reverted changes to JodaConversionTest from commit feb5e2f13b0eea3027000cc7f03d6b63690505c5. 2015-11-07 20:28:45 +01:00
Gunnar Morling
18c03a328d #681 Using UTC for Date/JavaLocalDate conversion in both directions 2015-11-06 19:19:34 +01:00
Andreas Gudian
1f091c35e2 #660 Fix custom package / implementation name when using componentModel="default" with abstract classes 2015-10-24 20:55:45 +02:00
Andreas Gudian
82ab85d3bc #642 Simplify handling of toolchains file by autodetecting which JDKs are configured there. 2015-10-22 20:18:27 +02:00
Andreas Gudian
feb5e2f13b Fix test failing on Windows 10 with JDK 1.8.0_60 2015-10-22 20:17:41 +02:00
sjaakd
11a03e54ca #640 - applying Mapper or Mapperconfig NullValueMappingStrategy to forged methods 2015-09-22 23:08:37 +02:00
sjaakd
b816469537 #631 - adding error message for generic type variables as source / target / result 2015-09-14 21:38:32 +02:00
sjaakd
18532ace8c #636 - adapt integration test for default and static interface methods (Java8) to eclipse compiler problem 2015-09-14 09:09:26 +02:00
sjaakd
45db85a7be #636 - refinement of solution java8 default and static interface methods 2015-09-14 09:06:22 +02:00
Ivo Smid
a15a67ff47 #636 - fix - default methods (Java 8) do not work anymore 2015-09-14 09:02:33 +02: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 1.0.0.CR2 2015-08-27 10:58:55 +02:00
Andreas Gudian
5a2e1e3f87 Update readme.md with latest version information 2015-08-27 10:52:01 +02:00
Andreas Gudian
72a7bdbb83 #592 Improve @DecoratedWith javadoc 2015-08-23 21:46:06 +02:00
Andreas Gudian
bce6271f7a #625 Don't search for factory methods when generating update-methods. Rephrase error message for ambiguous factory methods. 2015-08-23 18:36:52 +02:00
Andreas Gudian
590363cf2f #592 Fix Decorator-support for component model 'spring' and 'jsr330', extend decorator integration-tests, add examples to @DecoratedWith javadoc 2015-08-23 16:40:54 +02:00
Andreas Gudian
4eaacbcfe6 592 allow to use all test-scope dependencies in the on-the-fly compilation classpath 2015-08-23 16:38:28 +02:00
Andreas Gudian
71f4a4b2ca #626 Remove blank lines before closing brackets 2015-08-17 23:02:16 +02:00
Andreas Gudian
2c2f69b0d3 #626 Remove doubled blank lines on Windows 2015-08-17 22:10:44 +02:00
Andreas Gudian
9ccc9726ff Adding Christophe to the list of contributors 2015-08-14 21:14:17 +02:00
Andreas Gudian
6238e21247 #472 Fix typo in javadoc 2015-08-14 21:03:33 +02:00
Christophe Labouisse
29f720b35e #472, #556 Make implementation package and name configurable
- Add `implementationName` & `implementationPackage` to `@Mapper` and
`@MapperConfig'

- Generate a file in `META-INF/services` when a custom name or package
has been configured

- `Mappers` use `ServiceLoader` first in order to get a mapper's
  implementation before falling back to the former method

- Change the `MapperServiceProcess` behaviour to return `default` rather
  than `null` when no component model is defined
2015-08-14 21:03:33 +02:00
Andreas Gudian
9578f9b452 #588 Extend test to verify that #588 was actually fixed with the previous commit 2015-08-13 20:47:11 +02:00
Andreas Gudian
a85168f298 #618 Improve detection of unspecified annotation attributes and remove all "DEFAULT"/"default" values from annotations and enums that were previously only created to detect if a value was assigned or not. 2015-08-13 20:38:43 +02:00
Ivo Smid
44037172fc Utf-8 typo 2015-08-13 09:06:01 +02:00
Andreas Gudian
5e97bba7d1 Adding Mustafa to the list of contributors 2015-08-13 00:00:36 +02:00
Andreas Gudian
2a385c0ec8 #600 Improve generated assignment code when using default-values, enhance javadoc a little and remove unused attribute in PropertyMapping 2015-08-12 23:58:56 +02:00
luxmeter
964f676af6 #600 added defaultValue feature 2015-08-12 23:58:56 +02:00
Andreas Gudian
b0b2f51331 Adding Ivo to the list of contributors 2015-08-12 19:05:47 +02:00
Ivo Smid
60caf959e3 603 - Java 8 - Cant use static method on interface with decorators. 2015-08-12 12:58:21 +02:00
Andreas Gudian
e177f25d63 #604 Add import for property target type when using an update-method and no factory method is used to create a new instance 2015-08-09 12:36:48 +02:00
Andreas Gudian
30c8b1eec0 #590 Change test to not depend on un-supported String<->StringBuilder conversion 2015-08-09 12:23:36 +02:00