maven dependency update and put resource