This plugin is designed to force the current branch to track the changes from another branch and fail if there are differences.
'com.bluetrainsoftware.maven:branch-check-maven-plugin:1.2'
<dependency>
<groupId>com.bluetrainsoftware.maven</groupId>
<artifactId>branch-check-maven-plugin</artifactId>
<version>1.2</version>
</dependency>
<dependency org="com.bluetrainsoftware.maven" name="branch-check-maven-plugin" rev="1.2"/>
"com.bluetrainsoftware.maven", "branch-check-maven-plugin", "1.2"