mvn clean install git using reason to troubleshoot error

Using the command line git-bath.exe to pull the code and compile it like the service, the result has been an error even when the pull-dependent is 144.131.254.26, read the maven of setting the configuration file did not wrong, the final positioning problem is git setting file search window to perform mvn install, the default is C: \ Users \ shoshana \ .m2 file under the setting, if not under the circumstances, will use the files in maven_home,

Solution:

The file .m2 under the direct delete, execute the command again successful.

----------------------------------------------------------------------------------------------------------------------------------------------------

[INFO] Scanning for projects...
Downloading from mirrorId: http://144.131.254.26:8081/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-parent/1.2.5.RELEASE/spring-boot-starter-parent-1.2.5.RELEASE.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencies.dependency.version' for com.paypal.sdk:rest-api-sdk:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 143, column 14
[FATAL] Non-resolvable parent POM for com.xiaoyi.orderpaymentservice:orderpaymentutilities-us:1.0.1: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.5.RELEASE from/to mirrorId (http://144.131.254.26:8081/nexus/content/groups/public/): Connect to 144.131.254.26:8081 [/144.131.254.26] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 14, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.xiaoyi.orderpaymentservice:orderpaymentutilities-us:1.0.1 (D:\project\xy\07src\orderpayment\orderpaymentutilities\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.xiaoyi.orderpaymentservice:orderpaymentutilities-us:1.0.1: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.5.RELEASE from/to mirrorId (http://144.131.254.26:8081/nexus/content/groups/public/): Connect to 144.131.254.26:8081 [/144.131.254.26] failed: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 14, column 10 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

 

----------------------------------------------------------------------------------------------------------------------------------------------------

Guess you like

Origin www.cnblogs.com/shoshana-kong/p/11023505.html