recently had this problem while working on the Jenkins build release,
ERROR: Failed to parse POMs
java.io.IOException: Can't read POM: /opt/gamma/.jenkins/jobs/indra-parent/workspace/pom.xml
at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:54)
at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:882)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1720)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
maven has actually been built and turned out to be a pom.xml header
The error was caused by a corrupt XML header which contained merge conflicts.
head is normal after modification for the following p>
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
p>
div>
Read More:
- INSTALL PARSE FAILED INCONSISTENT CERTIFICATES (How to Fix)
- How to Fix Tomcat Error: Failed to destroy end point associated with ProtocolHandler[ajp-nio-8009]
- How to Fix Failed to add the host to the list of known hosts
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded (How to Fix)
- How to Fix failed to Connect to MySQL at localhost:3306 with user root
- How to Fix Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory (How to Fix)
- express nodejs Failed to lookup view error in views directory (How to Fix)
- failed: Too many links (How to Fix)
- How to Fix VMware Taking ownership of this virtual machine failed
- Module build failed Error Plugin/Preset files are not allowed to export objects, only functions (How to Fix)
- How to Fix:java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost
- Android resource compilation failed (How to Fix)
- How to Fix ubuntu phpmyadmin error: “Connection for controluser as defined in your configuration failed”
- How to Fix Error137 (net::ERR_NAME_RESOLUTION_FAILED)
- Android Studio: Application Installation Failed (How to Fix)
- How to Fix Session is not Connecting (How to Diagnose it)
- Uncaught TypeError: Failed to execute ‘appendChild’ on ‘Node’: parameter 1 is not of type ‘Node How to Fix
- How to Fix gdb error: Failed to import the site module,No module named ‘_sysconfigdata_m’