Rearranged JAR task configuration to make sure that presence of '-SNAPSHOT' does not change generated artifact name.
Some method renaming