Filip Hrisafov
5bbd1a78ea
Migrate the processor test infrastructure from JUnit 4 to JUnit Jupiter
...
With JUnit Jupiter it is still not possible to set the ClassLoader for loading the test class.
However, since 5.8 M1 there is a way to hook into the launcher discovery process and change the Current Thread ContextClassLoader which would load the classes with our customer ClassLoader.
Once JUnit Jupiter 201 is resolved we can simplify this.
The CompilationCache is stored in the GlobalCache with the CompilationRequest as key.
This means that even when methods are not executed in some particular order if they have same WithClasses then they would reuse the cache.
2021-04-25 13:05:26 +02:00
Filip Hrisafov
3256abb79c
#2244 Mark mapstruct-processor jar as Spring-Boot-Jar-Type: annotation-processor
...
Doing this would make sure that starting from Spring Boot 2.4 the mapstruct-processor will not be included in the fat jar produced by the Spring Boot maven plugin if people have it as a maven provided dependency.
This is an alternative if people are not using the maven-compiler-plugin annotationProcessorPaths
2020-10-28 08:54:01 +01:00
Filip Hrisafov
58dbaee472
[maven-release-plugin] prepare for next development iteration
2020-10-11 09:35:30 +02:00
Filip Hrisafov
d8f22f8311
[maven-release-plugin] prepare release 1.4.1.Final
2020-10-11 09:35:30 +02:00
Filip Hrisafov
eb5b8bb71e
[maven-release-plugin] prepare for next development iteration
2020-09-26 10:20:47 +02:00
Filip Hrisafov
9973b92ccb
[maven-release-plugin] prepare release 1.4.0.Final
2020-09-26 10:20:45 +02:00
Filip Hrisafov
8b22654abd
[maven-release-plugin] prepare for next development iteration
2020-08-30 16:31:45 +02:00
Filip Hrisafov
c962962546
[maven-release-plugin] prepare release 1.4.0.CR1
2020-08-30 16:31:44 +02:00
Filip Hrisafov
ef4bfc9aad
[maven-release-plugin] prepare for next development iteration
2020-07-19 18:10:13 +02:00
Filip Hrisafov
1d223284c2
[maven-release-plugin] prepare release 1.4.0.Beta3
2020-07-19 18:10:12 +02:00
Filip Hrisafov
2fede3583d
[maven-release-plugin] prepare for next development iteration
2020-07-18 01:12:05 +02:00
Filip Hrisafov
fc4f65ddb6
[maven-release-plugin] prepare release 1.4.0.Beta2
2020-07-05 23:11:41 +02:00
Filip Hrisafov
d87d75a7a8
[maven-release-plugin] prepare for next development iteration
2020-06-01 13:42:32 +02:00
Filip Hrisafov
72ce5f3bd2
[maven-release-plugin] prepare release 1.4.0.Beta1
2020-06-01 13:42:32 +02:00
Filip Hrisafov
73a79cf009
#1857 Use flatten-maven-plugin to remove test dependencies from released pom
...
For some reason when using annotationProcessorPaths IntelliJ includes the provided and test scoped dependencies on the annotation processor paths.
With this change there would be no test dependencies that IntelliJ can add.
2020-05-17 18:45:05 +02:00
Sjaak Derksen
2d3761051a
#2011 Introduce gem as replacement of hickory:prism ( #2007 )
2020-01-27 20:16:04 +01:00
Filip Hrisafov
3790f1919a
Make hickory an optional dependency as well ( #1765 )
...
Using optional because IntelliJ is picking up hickory as a transitive
dependency and runs the hickory processor in projects using mapstruct-processor.
This happens only when the processor is defined in the maven-compiler annotationProcessorPaths.
This is related to https://youtrack.jetbrains.com/issue/IDEA-200481 .
2019-03-30 09:47:35 +01:00
Gunnar Morling
ae3758674a
#1675 Making MapStruct compileable with OpenJDK 11
2019-03-09 19:54:40 +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
2019-02-10 11:48:19 +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
2018-11-11 09:19:05 +01:00
Filip Hrisafov
ec413118d6
Update build with latest dependencies and Java 8 baseline: ( #1636 )
...
* Do not use maven-processor-plugin and use the maven-compiler-plugin annotationProcessors instead
* Update NoPackageCyclesRule and exclude tests
* Update checkstyle to 8.14 and remove FIleContentsHolder module and move SuppressionCommentFilter to the TreeWalker
* Update assertj to 3.11.1 and replace usage of RuntimeIOException (from AssertJ) with UncheckedIOException (from java 8)
* Add how to import MapStruct into IntelliJ and Eclipse into the readme
2018-10-28 21:39:35 +01:00
Filip Hrisafov
e29c25e5cb
[maven-release-plugin] prepare for next development iteration
2018-07-15 19:51:45 +02:00
Filip Hrisafov
c189aa7bb5
[maven-release-plugin] prepare release 1.3.0.Beta1
2018-07-15 19:51:44 +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
de76a87019
[maven-release-plugin] prepare for next development iteration
2017-10-17 23:12:53 +02:00
Filip Hrisafov
a2176493e7
[maven-release-plugin] prepare release 1.2.0.Final
2017-10-17 23:12:52 +02:00
Filip Hrisafov
e79949ed0f
[maven-release-plugin] prepare for next development iteration
2017-08-28 20:22:54 +02:00
Filip Hrisafov
322e77e52b
[maven-release-plugin] prepare release 1.2.0.CR2
2017-08-28 20:22:54 +02:00
Filip Hrisafov
17da0cf912
#1231 Add japicmp for the MapStruct API
2017-08-17 00:10:04 +02:00
Filip Hrisafov
0540a00263
[maven-release-plugin] prepare for next development iteration
2017-07-15 10:21:42 +02:00
Filip Hrisafov
03f6434aa7
[maven-release-plugin] prepare release 1.2.0.CR1
2017-07-15 10:21:41 +02:00
Filip Hrisafov
acdab55604
#1196 Use dedicated property name for the jacoco argument line and have an empty property in order to work with Netbeans
2017-07-09 11:12:15 +02:00
Gunnar Morling
ca0721d931
#1224 Adding Automatic-Module-Name headers to mapstruct, mapstruct-jdk8 and mapstruct-processor JARs
2017-07-08 15:24:39 +02:00
Filip Hrisafov
0d66618d45
[maven-release-plugin] prepare for next development iteration
2017-05-30 23:27:41 +02:00
Filip Hrisafov
b3e7c52076
[maven-release-plugin] prepare release 1.2.0.Beta3
2017-05-30 23:27:40 +02:00
Filip Hrisafov
2acaffa3ec
#1129 Add forbidden apis plugin to fail on illegal TypeMirror usages
2017-05-30 22:56:31 +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
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
2017-03-16 20:33: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
2017-02-20 20:58:12 +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
62721b207b
[maven-release-plugin] prepare for next development iteration
2016-11-18 21:45:42 +01:00
Andreas Gudian
b0b816f552
[maven-release-plugin] prepare release 1.1.0.Final
2016-11-18 21:45:41 +01:00
Andreas Gudian
44f7070e75
Update version on master branch to 1.2.0-SNAPSHOT
2016-11-07 21:08:42 +01:00
Andreas Gudian
d83be86994
[maven-release-plugin] prepare for next development iteration
2016-11-07 20:52:04 +01:00