mvn help:system最后出错:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-help-plugin:2.1.1:
system (default-cli) on project standalone-pom: Execution default-cli of goal or
g.apache.maven.plugins:maven-help-plugin:2.1.1:system failed: Plugin org.apache.
maven.plugins:maven-help-plugin:2.1.1 or one of its dependencies could not be re
solved: Could not transfer artifact org.apache.maven.plugin-tools:maven-plugin-t
ools-api:jar:2.4.3 from/to central (http://repo1.maven.org/maven2): Error transf
erring file: Connection timed out: connect -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException
解决:设置HTTP代理
编辑~/.m2/settings.xml文件添加代理配置如下:
<settings>
…
<proxies>
<proxy>
<id>my-proxy</id>
<active>true</active>
<protocol>http</protocol>
<host>本机IP</host>
<port>80</port>
<!--
<username>***</username>
<password>***</password>
<nonProxyHosts>repository.mycom.com|*.google.com</nonProxyHosts>
-->
</proxy>
</proxies>
…
</settings>
分享到:
相关推荐
mvn install单独jar到仓库使用方法举例
很多人配置maven文件出错,执行mvn -v没问题,但是执行mvn help:system报错,最终解决办法就是用一个配置好的替换就行,记得改一下本地仓库路径<localRepository>E:\maven\repository,改成你的本地仓库路径,然后再...
更新本地仓库命令 mvn help:system 回车如图是成功: 失败报错如下: Failed to execute goal org.apache.maven.plugins:maven-help-plugin:3.1.0:system (default-cli) on project standalone-pom: ...
mvn archetype:create -DgroupId=packageName -DartifactId=projectName 2. 创建Maven的Web项目: mvn archetype:create -DgroupId=packageName -DartifactId=webappName -...
mapreduce创建代码项目mvn原型:generate -DarchetypeGroupId = org.apache.maven.archetypes -DgroupId = org.conan.mymahout -DartifactId = myPro -DpackageName = org.conan.mymahout -Dversion = 1.0-SNAPSHOT ...
mvn install:install-file -DgroupId=org.hyperic -DartifactId=sigar-dist -Dversion=1.6.3.82 -Dpackaging=jar -Dfile=C:\Users\XXXXX\Desktop\sigar-dist-1.6.3.82.zip mvn install:install-file -DgroupId=org....
mvn install:install-file -Dfile=D:\xxxx\Dm7JdbcDriver15.jar -DgroupId=com.dm -DartifactId=dmJDBC -Dversion=7.6.15 -Dpackaging=jar mvn install:install-file -Dfile=D:\xxxx\Dm7JdbcDriver16.jar -...
下载之后再maven的bin目录下使用mvn命令:mvn install:install-file -Dfile=F:\apache-maven-3.5.3\mylib\olap4j-0.9.7.309-JS-3.jar -DgroupId=org.olap4j -DartifactId=olap4j-0.9.7.309-JS-3 -Dversion=0.9.7.309...
ckfinder Jar包,版本2.3,...mvn install:install-file -Dfile=D:\ckfinder2.3\ckfinderplugin-imageresize-2.3.jar -DgroupId=com.ckfinder -DartifactId=ckfinderplugin-imageresize -Dversion=2.3 -Dpackaging=jar
mvn archetype:create :创建 Maven 项目 mvn compile :编译源代码 mvn test-compile :编译测试代码 mvn test : 运行应用程序中的单元测试 mvn site : 生成项目相关信息的网站 mvn clean :清除目标目录中的生成...
mvn install:install-file -D groupId=org.zenika.widget -D artifactId=gwt-datepicker -D version=r29 -D packaging=jar -D file=C:\gwt-datepicker-r29.jar 命令参数详解: mvn install:install-file: maven 安装...
下载之后再maven的bin目录下使用mvn命令:mvn install:install-file -Dfile=F:\apache-maven-3.5.3\mylib\olap4j-0.9.7.309-JS-3.jar -DgroupId=org.olap4j -DartifactId=olap4j-0.9.7.309-JS-3 -Dversion=0.9.7.309...
WePay Java SDK 该API实现了WePay API的v2。... mvn release:perform mvn clean deploy; mvn release:clean; mvn release:prepare; mvn release:perform如何使用首先,熟悉其API的工作方式(请参见上面
mvn install:install-file -D groupId=org.zenika.widget -D artifactId=gwt-datepicker -D version=r29 -D packaging=jar -D file=C:\gwt-datepicker-r29.jar 命令参数详解: mvn install:install-file: maven 安装...
mvn clean install compile -Dmaven.test.skip=true -fn mvn eclipse:clean mvn eclipse:eclipse mvn eclipse:myeclipse mvn clean install compile -Dmaven.test.skip=true -fn mvn install compile -Dmaven.test....
* 然后建一个Ecllipse项目:my-webapp>mvn eclipse:eclipse * 先写jsp文件 和 web.xml文件 * 接着在src/main/java下写自已的java class文件 * 写pom.xml方件,最关键是添加dependencies * mvn package打包 * ...
docker部署:mvn docker:build & java -jar 物理机部署:mvn install & java -jar 技术栈 Spring-Boot Spring-Cloud Spring-Cloud-Gateway Spring-Cloud-Sleuth(对业务侵入性较大,建议替换到 Skywalking ) Sentinel...
NULL 博文链接:https://oywl2008.iteye.com/blog/1391514
敏捷 积极内联协会(AssociaçãoParaense de Aggressive Inline) 清醒 。 该项目是从“ wildfly-jakartaee-webapp-archetype”原型创建的。 JAX-RS 温泉 安装步骤: ... 运行:“ mvn wildfly:undepoy”
确认性能 使用rabbitmq确认基准测试。 用法 ###1。 设置配置。 $ cd comfirm-perf $ vim src/main/java/MQConfig.java $ mvn 干净编译 ...$ mvn exec:java -Dexec.mainClass="AsyncConfirmSender