(我的服务的 Maven 构建失败):Maven 安装给了我这个错误。.m2 文件夹中也没有 settings.xml 文件。
[INFO] Adapter CSI_ORDERTRACK_STATUS Bundle ............... SUCCESS [ 0.581 s]
[INFO] Adapter CSI_ORDERTRACK_STATUS Bundle Dependencies .. SUCCESS [ 0.011 s]
[INFO] Adapter CSI_ORDERTRACK_STATUS Bundle Service ....... FAILURE [01:12 min]
[INFO] Adapter CSI_ORDERTRACK_STATUS SWM Zip .............. SKIPPED
[INFO] Adapter CSI_ORDERTRACK_STATUS SWM Package .......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project CSI_ORDERTRACK_STATUS-service: Could not resolve dependencies for project maf.service:CSI_ORDERTRACK_STATUS-service:jar:200.0.14: Failed to collect dependencies at maf:adapter-ordertrackdb:jar:200.0.14: Failed to read artifact descriptor for maf:adapter-ordertrackdb:jar:200.0.14: Could not transfer artifact maf:adapter-ordertrackdb:pom:200.0.14 from/to central (https://repo.maven.apache.org/maven2): connect timed out -> [Help 1]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[错误] [帮助 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 200.0.14 依赖 Service_pom 如下:
<groupId>maf.service</groupId>
<artifactId>CSI_ORDERTRACK_STATUS-service</artifactId>
<version>200.0.14</version>
<packaging>jar</packaging>
<name>Adapter CSI_ORDERTRACK_STATUS Bundle Service</name>
<dependencies>
<dependency>
<groupId>maf</groupId>
<artifactId>adapter-ordertrackdb</artifactId>
<version>200.0.14</version>
</dependency>
<dependency>