In some projects the "main" branch isn't always named _master_ (_develop_ for example) The script should adapt to either use a custom name defined in the pom.xml or be able to detect the "main" branch name of the integration repository