我正处于多模块Maven3项目的重构和管理过程中,我需要重命名某些工件的groupId和artifactId.
有没有办法重命名groupId和artifactId?
我知道我可以使用一些像sed这样的查找和替换工具,但我想知道是否有类似于版本maven-plugin(例如:)的mojo,mvn versions:set -DnewVersion=1.0.3-SNAPSHOT但是对于groupId和artifactId.
如果我有这样的事情:
- include_vars: this_file_doesnt_exist.yml
Run Code Online (Sandbox Code Playgroud)
ansible将抛出错误"输入文件未找到..."并停止供应过程.
我想知道如果找不到文件,是否可以允许配置过程继续.
我的用例如下:
例:
- include_vars: aptcacher.yml
- name: use apt-cache
template: src=01_proxy.j2 dest=/etc/apt/apt.conf.d/01_proxy owner=root group=root mode=644
sudo: true
when: aptcacher_host is defined
Run Code Online (Sandbox Code Playgroud)
Ansible版本:1.9.1