add assert for replacing jar
add tmp dist repo
list all entries in debug only
feedback from Leijuan
one more bit for version
also replace files in the war output dir