根据以下日志,maven尝试从其他存储库下载,但在第5行显示“已下载”。看起来mvn没有找到关于这个资源的任何更新,我猜这就是它报告“(0 B为0.0 KB /秒)”的原因。我不确定。原始子域隐藏在此处并显示为“xyz”或“abc”,它们实际上是Intranet上的有效子域。
Downloading: http://xyz.qa.ebay.com/content/repositories/releases/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: http://xyz.qa.ebay.com/content/repositories/thirdparty/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: http://abc.qa.ebay.com/nexus/content/repositories/testinfrastructure.releases/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: http://xyz/content/repositories/central/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloaded: http://xyz/content/repositories/central/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom (0 B at 0.0 KB/sec)
Downloading: http://repo.spring.io/ext-release-local/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: http://repo.spring.io/milestone/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: http://repo.spring.io/snapshot/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: http://repository.springsource.com/maven/bundles/external/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
Downloading: https://maven.java.net/content/repositories/releases/org/glassfish/hk2/hk2-utils/2.4.0-b34/hk2-utils-2.4.0-b34.pom
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<servers>
<server>
<id>my-server</id>
<configuration>
<httpConfiguration>
<all>
<connectionTimeout>5000</connectionTimeout> <!-- milliseconds -->
<readTimeout>20000</readTimeout>
</all>
</httpConfiguration>
</configuration>
</server>
</servers>
<mirrors>
<mirror>
<id>central</id>
<mirrorOf>central</mirrorOf>
<url>http://xyzcentral/content/repositories/central</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>xyz</id>
<properties>
<archetypeCatalog>http://xyzcentral/content/repositories/releases/archetype-catalog.xml
</archetypeCatalog>
</properties>
<repositories>
<repository>
<id>framework.releases</id>
<url>http://xyzcentral.qa.xyz.com/content/repositories/releases/
</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>framework.snapshots</id>
<url>http://xyzcentral.qa.xyz.com/content/repositories/snapshots/
</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>framework-thirdparty</id>
<url>http://xyzcentral.qa.xyz.com/content/repositories/thirdparty/
</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>repo1.releases</id>
<url>http://abccentral.qa.xyz.com/nexus/content/repositories/repo1.releases/
</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>repo1.snapshots</id>
<url>http://abccentral.qa.xyz.com/nexus/content/repositories/repo1.snapshots/
</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://xyzcentral/content/repositories/central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>framework-releases</id>
<url>http://xyzcentral/content/repositories/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>framework-plugins</id>
<url>http://xyzcentral/content/repositories/plugins</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>framework-snapshots</id>
<url>http://xyzcentral/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>framework-thirdparty</id>
<url>http://xyzcentral/content/repositories/thirdparty</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>xyz</activeProfile>
</activeProfiles>
</settings>