RF-13399: fix the error in Resource Optimizization executed with Maven 3.1.1