会报如下错
[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-arch
etype-plugin' could not be retrieved from repository: central due to an error: E
rror transferring file
[INFO] Repository 'central' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
-->
<proxy>
<id>optional</id> <!--代理服务器ID,可随意命名-->
<active>true</active> <!-- 是否启用 -->
<protocol>http</protocol> <!-- 通信协议 -->
<username>proxyuser</username> <!-- 代理服务器用户名 -->
<password>proxypass</password> <!-- 代理服务器密码 -->
<host>proxy.host.net</host> <!-- 代理服务器主机地址 -->
<port>80</port> <!-- 通信端口 -->
<nonProxyHosts></nonProxyHosts>
</proxy>
</proxies>
maven 代理服务器
最新推荐文章于 2020-09-04 11:33:56 发布