PACKAGE=ls *-SNAPSHOT* &&PACKAGE=${PACKAGE%-SNAPSHOT*}&& mv target ${PACKAGE}.jar