| Hi,there
- I contrast "<mirror>" of the 'settings.xml' in both Linux and windows. its seems they are the same like this:
<!-- mirrors
| This is a list of mirrors to be used in downloading artifacts from remote repositories. |
| It works like this: a POM may declare a repository to use in resolving certain artifacts. |
| However, this repository may have problems with heavy traffic at times, so people have mirrored |
| it to several places. |
| That repository definition will have a unique id, so we can create a mirror reference for that |
| repository, to be used as an alternate download site. The mirror site will be the preferred |
| server for that repository. |
--> <mirrors> <!-- mirror |
| Specifies a repository mirror site to use instead of a given repository. The repository that |
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used |
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors. |
<mirror> <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> <url>http://my.repository.com/repo/path</url> </mirror> --> </mirrors> 2. I also try to clean the linux 'home/tomcat/.m2/' , using 'rm -rf *' ; and retried to build , it still failed like this: Building in workspace /home/tomcat/.jenkins/workspace/eHospital5-parent > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url ssh://g...@witon.us:2022/witon_git_ehospital5_server.git # timeout=10 Fetching upstream changes from ssh://g...@witon.us:2022/witon_git_ehospital5_server.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress ssh://g...@witon.us:2022/witon_git_ehospital5_server.git +refs/heads/:refs/remotes/origin/ > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision ba1c8179cfedf9289171d29f95a0e2e344cb6ebd (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f ba1c8179cfedf9289171d29f95a0e2e344cb6ebd Commit message: "新增挂号接口修改" > git rev-list --no-walk bf510999d76d631f386aa447b7b5926994e24a56 # timeout=10 Parsing POMs Failed to transfer Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.5.RELEASE in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-parent/2.0.5.RELEASE/spring-boot-starter-parent-2.0.5.RELEASE.pom Failed to transfer Could not find artifact org.springframework.boot:spring-boot-dependencies:pom:2.0.5.RELEASE in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/boot/spring-boot-dependencies/2.0.5.RELEASE/spring-boot-dependencies-2.0.5.RELEASE.pom Failed to transfer Could not find artifact com.witontek.ehospital5:parent:pom:5.0.0 in central ( http://repo.maven.apache.org/maven2 ) Failed to transfer Could not find artifact com.fasterxml.jackson:jackson-bom:pom:2.9.6 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact com.fasterxml.jackson:jackson-bom:pom:2.9.6 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/com/fasterxml/jackson/jackson-bom/2.9.6/jackson-bom-2.9.6.pom Failed to transfer Could not find artifact com.fasterxml.jackson:jackson-parent:pom:2.9.1.1 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact com.fasterxml.jackson:jackson-parent:pom:2.9.1.1 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/com/fasterxml/jackson/jackson-parent/2.9.1.1/jackson-parent-2.9.1.1.pom Failed to transfer Could not find artifact com.fasterxml:oss-parent:pom:33 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact com.fasterxml:oss-parent:pom:33 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/com/fasterxml/oss-parent/33/oss-parent-33.pom Failed to transfer Could not find artifact io.netty:netty-bom:pom:4.1.29.Final in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact io.netty:netty-bom:pom:4.1.29.Final in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/io/netty/netty-bom/4.1.29.Final/netty-bom-4.1.29.Final.pom Failed to transfer Could not find artifact org.sonatype.oss:oss-parent:pom:7 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact org.sonatype.oss:oss-parent:pom:7 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pom Failed to transfer Could not find artifact io.projectreactor:reactor-bom:pom:Bismuth-SR11 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact io.projectreactor:reactor-bom:pom:Bismuth-SR11 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/io/projectreactor/reactor-bom/Bismuth-SR11/reactor-bom-Bismuth-SR11.pom Failed to transfer Could not find artifact org.apache.logging.log4j:log4j-bom:pom:2.10.0 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact org.apache.logging.log4j:log4j-bom:pom:2.10.0 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/org/apache/logging/log4j/log4j-bom/2.10.0/log4j-bom-2.10.0.pom Failed to transfer Could not find artifact org.apache.logging:logging-parent:pom:1 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact org.apache.logging:logging-parent:pom:1 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/org/apache/logging/logging-parent/1/logging-parent-1.pom Failed to transfer Could not find artifact org.apache:apache:pom:18 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact org.apache:apache:pom:18 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/org/apache/apache/18/apache-18.pom Failed to transfer Could not find artifact org.eclipse.jetty:jetty-bom:pom:9.4.12.v20180830 in spring-snapshots ( https://repo.spring.io/snapshot ) Failed to transfer Could not find artifact org.eclipse.jetty:jetty-bom:pom:9.4.12.v20180830 in spring-milestones ( https://repo.spring.io/milestone ) Downloaded artifact http://192.168.1.18:8081/nexus/content/groups/public/org/eclipse/jetty/jetty-bom/9.4.12.v20180830/jetty-bom-9.4.12.v20180830.pom Failed to transfer Could not find artifact org.springframework:spring-framework-bom:pom:5.0.9.RELEASE in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/spring-framework-bom/5.0.9.RELEASE/spring-framework-bom-5.0.9.RELEASE.pom Failed to transfer Could not find artifact org.springframework.data:spring-data-releasetrain:pom:Kay-SR10 in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/data/spring-data-releasetrain/Kay-SR10/spring-data-releasetrain-Kay-SR10.pom Failed to transfer Could not find artifact org.springframework.data.build:spring-data-build:pom:2.0.10.RELEASE in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/data/build/spring-data-build/2.0.10.RELEASE/spring-data-build-2.0.10.RELEASE.pom Failed to transfer Could not find artifact org.springframework.integration:spring-integration-bom:pom:5.0.8.RELEASE in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/integration/spring-integration-bom/5.0.8.RELEASE/spring-integration-bom-5.0.8.RELEASE.pom Failed to transfer Could not find artifact org.springframework.security:spring-security-bom:pom:5.0.8.RELEASE in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/security/spring-security-bom/5.0.8.RELEASE/spring-security-bom-5.0.8.RELEASE.pom Failed to transfer Could not find artifact org.springframework.session:spring-session-bom:pom:Apple-SR5 in spring-snapshots ( https://repo.spring.io/snapshot ) Downloaded artifact https://repo.spring.io/milestone/org/springframework/session/spring-session-bom/Apple-SR5/spring-session-bom-Apple-SR5.pom ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [WARNING] 'groupId' contains an expression but should be a constant. @ line 16, column 11 [WARNING] 'artifactId' contains an expression but should be a constant. @ line 17, column 17 [WARNING] 'version' contains an expression but should be a constant. @ line 18, column 14 [FATAL] Non-resolvable parent POM: Could not find artifact com.witontek.ehospital5:parent:pom:5.0.0 in central ( http://repo.maven.apache.org/maven2 ) and 'parent.relativePath' points at no local POM @ line 7, column 10 at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1328) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1125) at hudson.FilePath.act(FilePath.java:1076) at hudson.FilePath.act(FilePath.java:1059) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:986) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:691) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1810) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE |