163 Commits

Author SHA1 Message Date
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
Gunnar Morling
f7c1182ae6
Updating my developer URL 2020-05-17 13:27:32 +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
551c104295 #2019 Setup GitHub Actions
Add Maven Wrapper for using in GitHub Actions
Remove Travis
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
Sean C. Sullivan
273487f152 maven-compiler-plugin 3.8.1 2020-02-18 07:16:31 +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
Filip Hrisafov
95ceba1a1e #2016 Update Checkstyle to 8.29
Adapt checkstyle configuration with new changes:
* Move cacheFile to Checker module
* Move LineLength to Checker module
* Use SuppressWithPlainTextCommentFilter
2020-02-02 14:33:45 +01:00
Sjaak Derksen
2d3761051a
#2011 Introduce gem as replacement of hickory:prism (#2007) 2020-01-27 20:16:04 +01:00
Filip Hrisafov
f5ee2c6729
Remove use of prerequisites from parent pom.xml (#1766) 2019-03-23 21:27:15 +01:00
Filip Hrisafov
39481f98c5
Update checkstyle to latest version and replace deprecated methods (#1764) 2019-03-23 21:25:08 +01:00
Filip Hrisafov
4f2f546ffc Update plugins to latest versions 2019-03-15 20:35:13 +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
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
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
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
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
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
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
Florian Tavares
71e9bd3699 #1301 code improvements / adaptations after language-level upgrade 2018-10-19 20:36:07 +01: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
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
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
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
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
af8d48c797 #1281 Do not depend on deprecated sonatype parent 2017-09-07 17:47:18 +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
6377e51efa #1251 Deploy SNAPSHOTS from Travis CI 2017-08-18 19:41:24 +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
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
2e09944b19 #1213 General code cleanups:
* #122 Use util methods when possible
* Fix some warnings in Javadoc generation
* Don't use raw classes when not needed
* Add .yml, binding.xjb and .asciidoc files to license check exclusion
2017-05-24 14:15:46 +02:00
Filip Hrisafov
f2ad90042c Update assertj and used dedicated method in tests (#1204) 2017-05-24 08:07:59 +02:00
Filip Hrisafov
65b0e4d3c5 #1194 Setup code coverage analysis with codecov 2017-05-17 22:44:09 +02:00
Filip Hrisafov
5fccc6c2d5 #1171 Add Travis CI (#1172) 2017-04-06 21:22:38 +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