It's all about the answers!

Ask a question

How to prevent pom.xml to be delivered


Tarik Mlahi (177) | asked Jan 27 '14, 10:44 a.m.
retagged Jan 27 '14, 10:57 a.m. by David Lafreniere (4.4k7)
 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
Brian DiCola (29311315) | 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.

permanent link
Krzysztof Ka┼║mierczyk (7.4k34693) | 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.

Your answer


Register or to post your answer.