668 Commits

Author SHA1 Message Date
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
Andreas Gudian
5217e67f8d #590 Update methods are not supported for "method-and-conversion" methods (can currently cause NullPointerExceptions) 2015-08-09 12:23:36 +02:00
Andreas Gudian
1d1b215a93 #596 Add null-check on source for update-method invocations and set target property to null, if source is null 2015-08-09 12:10:10 +02:00
Andreas Gudian
abecb0d888 #580 Add null-check for mapped -> type-converted property mapping.
At least our built-in mapping methods return null for null input, which would break the type-conversion.
2015-08-09 12:10:10 +02:00
VGT
64dd46c354 #581 Prevent multiple imports of similar simple class name from different packages. 2015-07-02 22:44:42 +02:00
Andreas Gudian
2d686003c8 #576 Fix assignability check for @MappingTarget parameters in BeforeMapping/AfterMapping methods 2015-06-28 11:44:39 +02:00
Andreas Gudian
264a8f65af #574 determine property type from getter/setter methods only in combination with ExecutableType (i.e. using asMemberOf to determine the type with any generics being resolved) 2015-06-28 11:29:45 +02:00
Gunnar Morling
a35cf3c16d Adding Remko Plantenga to copyright.txt 2015-06-27 10:51:49 +02:00
Andreas Gudian
18dccf15da Adding Tomek to copyright.txt 2015-06-26 21:22:29 +02:00
VGT
b4bce14d6a #577 Improve type parameters equality check. 2015-06-26 20:43:20 +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 1.0.0.CR1 2015-06-03 23:19:10 +02:00
Gunnar Morling
7992624d84 Updating readme.md prior to 1.0.0.CR1 release 2015-06-03 23:16:45 +02:00
Gunnar Morling
3eab5a4f48 Making sure the right JavaDoc plug-in version is used during releases 2015-06-03 22:44:21 +02:00
Gunnar Morling
daaa99d143 #272 Allowing to inject decorated mapper in Spring without qualifier 2015-06-03 22:06:08 +02:00
Gunnar Morling
2ad77b5aa0 #272 Adding line breaks at end of files 2015-06-03 22:03:16 +02:00
sonata82
b37a1d24d9 #272 Basic decorator implementation for CDI and Spring 2015-06-03 22:03:16 +02:00
sjaakd
174c53cb48 #487 iterable and map update method selection 2015-05-29 23:26:56 +02:00
Andreas Gudian
c8e9f91037 #203 Move .ftl files into subdirectories representing the package path 2015-05-29 20:14:52 +02:00
Andreas Gudian
1baf8edc0a #548 Move all packages except of "spi" under "org.mapstruct.ap.internal" 2015-05-29 20:08:57 +02:00
Andreas Gudian
ccedca8890 #14 Adapt javadoc and order of method-usage within a type hierarchy 2015-05-28 18:23:53 +02:00
Andreas Gudian
619f8023d5 #14 Allow EnumMappings to be extended with @BeforeMapping/@AfterMapping methods 2015-05-28 18:20:45 +02:00
Andreas Gudian
68fc3af645 #14 Consider qualifiers when selecting @BeforeMapping/@AfterMapping methods 2015-05-28 18:20:31 +02:00
Andreas Gudian
ac8320b0a3 #14 Add support for @AfterMapping / @BeforeMapping methods, adapt MethodMatcher to allow multiple source arguments again 2015-05-28 18:15:04 +02:00
Andreas Gudian
2fd8e0a775 #365 Moving integration test to integration-test module (kept using only Java 8 for now) 2015-05-27 21:21:56 +02:00
Andreas Gudian
8e2e08d7e0 #365 Cleanups after review 2015-05-27 21:21:55 +02:00
Gunnar Morling
dab55e3790 #365 Adding integration test 2015-05-27 21:21:55 +02:00
Gunnar Morling
77298c750e #365 Making Services factory agnostic of specific services 2015-05-27 21:21:55 +02:00
Gunnar Morling
3ba4ded58c #365 Moving "spi" package into processor module; Simplifying AccessorNamingStrategy contract 2015-05-27 21:21:55 +02:00
Christian Schuster
e62b612851 #365 inject default implementation, add documentation for default behavior 2015-05-27 21:21:55 +02:00
Christian Schuster
130d58060f #365 use @code in javadoc comments 2015-05-27 21:21:55 +02:00