Reproduce Maven SNAPSHOT issue

Related #1514 and #321.