|
55 | 55 | </instructions> |
56 | 56 | </configuration> |
57 | 57 | </plugin> |
| 58 | + |
| 59 | + <plugin> |
| 60 | + <!-- use with "mvn -DskipTests clean verify" --> |
| 61 | + <groupId>com.github.siom79.japicmp</groupId> |
| 62 | + <artifactId>japicmp-maven-plugin</artifactId> |
| 63 | + <version>0.14.3</version> |
| 64 | + <configuration> |
| 65 | + <oldVersion> |
| 66 | + <dependency> |
| 67 | + <groupId>com.github.docker-java</groupId> |
| 68 | + <artifactId>docker-java</artifactId> |
| 69 | + <version>3.1.5</version> |
| 70 | + <type>jar</type> |
| 71 | + </dependency> |
| 72 | + </oldVersion> |
| 73 | + <newVersion> |
| 74 | + <file> |
| 75 | + <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> |
| 76 | + </file> |
| 77 | + </newVersion> |
| 78 | + <parameter> |
| 79 | + <breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications> |
| 80 | + <accessModifier>public</accessModifier> |
| 81 | + <onlyBinaryIncompatible>true</onlyBinaryIncompatible> |
| 82 | + <includes> |
| 83 | + <include>com.github.dockerjava.api</include> |
| 84 | + </includes> |
| 85 | + <excludes> |
| 86 | + <!-- TODO? --> |
| 87 | + <exclude>com.github.dockerjava.api.model.*$Serializer</exclude> |
| 88 | + <exclude>com.github.dockerjava.api.model.*$Deserializer</exclude> |
| 89 | + <!-- Known 3.2.0 breaking changes: --> |
| 90 | + <exclude>com.github.dockerjava.api.command.DockerCmdExecFactory#init(com.github.dockerjava.core.DockerClientConfig)</exclude> |
| 91 | + <exclude>com.github.dockerjava.api.model.Identifier#tag</exclude> |
| 92 | + </excludes> |
| 93 | + <overrideCompatibilityChangeParameters> |
| 94 | + <overrideCompatibilityChangeParameter> |
| 95 | + <compatibilityChange>METHOD_NEW_DEFAULT</compatibilityChange> |
| 96 | + <binaryCompatible>true</binaryCompatible> |
| 97 | + <sourceCompatible>true</sourceCompatible> |
| 98 | + </overrideCompatibilityChangeParameter> |
| 99 | + <overrideCompatibilityChangeParameter> |
| 100 | + <compatibilityChange>METHOD_ABSTRACT_NOW_DEFAULT</compatibilityChange> |
| 101 | + <binaryCompatible>true</binaryCompatible> |
| 102 | + <sourceCompatible>true</sourceCompatible> |
| 103 | + </overrideCompatibilityChangeParameter> |
| 104 | + </overrideCompatibilityChangeParameters> |
| 105 | + </parameter> |
| 106 | + </configuration> |
| 107 | + <executions> |
| 108 | + <execution> |
| 109 | + <phase>verify</phase> |
| 110 | + <goals> |
| 111 | + <goal>cmp</goal> |
| 112 | + </goals> |
| 113 | + </execution> |
| 114 | + </executions> |
| 115 | + </plugin> |
58 | 116 | </plugins> |
59 | 117 | </build> |
60 | 118 | </project> |
0 commit comments