update convention, add script to "porm.xml" for copy resource file