It's all about the answers!

Ask a question

How to prevent pom.xml to be delivered


Tarik Mlahi (178) | asked Jan 27 '14, 10:44 a.m.
retagged Jan 27 '14, 10:57 a.m. by David Lafreniere (4.8k7)
 Hi,
For deliver action from one stream to another, we hope prevent delivering pom.xml files.
The reason for that is that build procedures use both versions of POM files to build each stream. 
So, POM files on the target stream should not be replaced by modified versions on the source stream.

It's not desirable to manually regroup pom.xml files in a separate change-set.

Thanks for your help.
Tarik.

2 answers



permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Jan 28 '14, 4:56 a.m.
Tarik,
If you don't want to deliver pom.xml stream you should consider whether this file shouldn't be added to ignored resources. Is there any reason why you don't have this file in ignored resources?
Anyway I also think that Brian's idea is also good.

permanent link
Brian DiCola (29311415) | answered Jan 27 '14, 11:18 a.m.
I might try putting each version of pom.xml in a separate component.  Then configure each stream to only include the component containing the appropriate pom.xml file.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.