add resourcemerger.