[TIMOB-14781] Backport to 3.1.X

do not copy over resources during build so that timestamp on resources stays the same