父工程下有多个子工程,安装了一个pojo工程成功,再安装一个interface工程时失败.
[ERROR] Failed to execute goal on project xxx-sellergoods-interface: Could not resolve dependencies for project com.xxx:xxx-sellergoods-interface:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.xxx:xxx-pojo:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.xxx:xxx-pojo:jar:0.0.1-SNAPSHOT: Could not find artifact com.xxx:xxx-parent:pom:0.0.1-SNAPSHOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
此时可以尝试直接install父工程解决问题。