mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
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.
This commit is contained in:
parent
104ebf88da
commit
a0ae8750a1
@ -541,6 +541,14 @@
|
||||
<parameter>
|
||||
<oldVersionPattern>\d+\.\d+\.\d+\.Final</oldVersionPattern>
|
||||
<breakBuildBasedOnSemanticVersioning>true</breakBuildBasedOnSemanticVersioning>
|
||||
<overrideCompatibilityChangeParameters>
|
||||
<overrideCompatibilityChangeParameter>
|
||||
<compatibilityChange>METHOD_NEW_DEFAULT</compatibilityChange>
|
||||
<binaryCompatible>true</binaryCompatible>
|
||||
<sourceCompatible>false</sourceCompatible>
|
||||
<semanticVersionLevel>MINOR</semanticVersionLevel>
|
||||
</overrideCompatibilityChangeParameter>
|
||||
</overrideCompatibilityChangeParameters>
|
||||
</parameter>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
Loading…
x
Reference in New Issue
Block a user