Add an if statement into jar so travis doesn't fail on changelog task