Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to exclude pom.xml file from auto merging in bitbucket

mohammed Imtiyazuddin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2021

How to exclude pom.xml file from auto merging in bitbucket,  

We have bitbucket backed by git repository for version control. We have different release-wise branches for each unique Java project, which is a jar file eventually. For ex, branches are named as R1, R2, R3 etc. Changes done in R1 should merge to R2 and R3. We made use of auto-merge option available, and it is working fine and doing an auto-merge to all upstream branches.

However, the pom.xml version (for ex: JAR1-SNAPSHOT.001) change in R1 branch also merged to upstreams, thereby creating duplicate jars in our artifactory.

Wondering if there is a way to exclude only pom.xml for auto merge?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events