fixed maven execute function