Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(http://nexus:8081/repository/maven-public) and 'parent.relativePath' #71

Open
87abhii opened this issue Jan 28, 2019 · 0 comments
Open

Comments

@87abhii
Copy link

87abhii commented Jan 28, 2019

using global settings config with name MyGlobalSettings
Replacing all maven server entries not found in credentials list is true
[workspace] $ /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.3.3/bin/mvn -f app/pom.xml -gs /tmp/global-settings1821188696980461513.xml -DBRANCH=master -DREPOSITORY_URL=http://localhost:18081/repository/maven-releases/ clean -U versions:set -DnewVersion=DEV-11
[INFO] Scanning for projects...
Downloading: http://nexus:8081/repository/maven-public/org/springframework/boot/spring-boot-starter-parent/1.2.1.RELEASE/spring-boot-starter-parent-1.2.1.RELEASE.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for de.codecentric:conference-app:3.0.0: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.1.RELEASE in nexus (http://nexus:8081/repository/maven-public) and 'parent.relativePath' points at no local POM @ line 18, column 10
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project de.codecentric:conference-app:3.0.0 (/var/jenkins_home/jobs/conference-app-1-ci/workspace/app/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for de.codecentric:conference-app:3.0.0: Could not find artifact org.springframework.boot:spring-boot-starter-parent:pom:1.2.1.RELEASE in nexus (http://nexus:8081/repository/maven-public) and 'parent.relativePath' points at no local POM @ line 18, 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
Build step 'Invoke top-level Maven targets' marked build as failure
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern '/target/surefire-reports/*.xml' relative to '/var/jenkins_home/jobs/conference-app-1-ci/workspace' for the testing framework 'JUnit'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'JUnit'?
[xUnit] [WARNING] - No test reports found for the metric 'JUnit' with the resolved pattern '
/target/surefire-reports/*.xml'.
[xUnit] [INFO] - Skipping the metric tool processing.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
Archiving workspace
Deleting old workspace snapshot from #10.
Finished: FAILURE
Page generated: Jan 28, 2019 9:29:42 PM UTCREST APIJenkins ver. 2.138.3

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant