diff --git a/NEXT_RELEASE_CHANGELOG.md b/NEXT_RELEASE_CHANGELOG.md new file mode 100644 index 0000000000..ed3f0e9c56 --- /dev/null +++ b/NEXT_RELEASE_CHANGELOG.md @@ -0,0 +1,29 @@ +### Features + +* Support conditional mapping for source parameters (#2610, #3459, #3270) +* Add `@SourcePropertyName` to handle a property name of the source object (#3323) - Currently only applicable for `@Condition` methods + +### Enhancements + +* Improve error message for mapping to `target = "."` using expression (#3485) +* Improve error messages for auto generated mappings (#2788) +* Remove unnecessary casts to long (#3400) + +### Bugs + +* `@Condition` cannot be used only with `@Context` parameters (#3561) +* `@Condition` treated as ambiguous mapping for methods returning Boolean/boolean (#3565) +* Subclass mapping warns about unmapped property that is mapped in referenced mapper (#3360) +* Interface inherited build method is not found (#3463) +* Bean with getter returning Stream is treating the Stream as an alternative setter (#3462) +* Using `Mapping#expression` and `Mapping#conditionalQualifiedBy(Name)` should lead to compile error (#3413) +* Defined mappings for subclass mappings with runtime exception subclass exhaustive strategy not working if result type is abstract class (#3331) + +### Documentation + +* Clarify that `Mapping#ignoreByDefault` is inherited in nested mappings in documentation (#3577) + +### Build + +* Improve tests to show that Lombok `@SuperBuilder` is supported (#3524) +* Add Java 21 CI matrix build (#3473) diff --git a/parent/pom.xml b/parent/pom.xml index e3f0d89627..e973a9b209 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -21,6 +21,15 @@ UTF-8 + + mapstruct/mapstruct + /tmp/repository + 1.8 + ${java.version} + ${java.version} + + ${git.commit.author.time} + 1.0.0.Alpha3 3.4.1 3.2.2 @@ -30,6 +39,7 @@ 8.36.1 5.10.1 2.2.0 + 1.12.0 1 3.24.2 @@ -392,10 +402,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.8.1 - - 1.8 - 1.8 - org.apache.maven.plugins @@ -839,5 +845,135 @@ + + publication + + + release + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + true + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + + jar + + + true + + + + + + + + + stage + + local::file:${maven.multiModuleProjectDirectory}/target/staging-deploy + + + deploy + + + + jreleaser + + + + org.jreleaser + jreleaser-maven-plugin + ${jreleaser.plugin.version} + + true + + + Mapstruct + + https://mapstruct.org/ + https://mapstruct.org/documentation/stable/reference/html/ + + + + ALWAYS + true + + FILE + + + false + + + + + + ALWAYS + https://oss.sonatype.org/service/local + https://oss.sonatype.org/content/repositories/snapshots/ + true + true + ${maven.multiModuleProjectDirectory}/target/staging-deploy + + + org.mapstruct + mapstruct-jdk8 + false + false + + + + + + + + + {{projectVersion}} + {{projectVersion}} + false + + true + + + true + ${maven.multiModuleProjectDirectory}/NEXT_RELEASE_CHANGELOG.md + + + + + + + ${maven.multiModuleProjectDirectory}/distribution/target/mapstruct-{{projectVersion}}-dist.tar.gz + + + ${maven.multiModuleProjectDirectory}/distribution/target/mapstruct-{{projectVersion}}-dist.zip + + + + + + + + + diff --git a/pom.xml b/pom.xml index 25a5ead6bc..90402f0cae 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,6 @@ core core-jdk8 processor - integrationtest true @@ -71,5 +70,17 @@ distribution + + test + + + release + !true + + + + integrationtest + +