org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-readable POM /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml: /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml (No such file or directory) @

Jenkins JIRA | Rainer Weinhold | 5 years ago
  1. 0

    It seems in my Maven2 project jenkins tries to load modules and fails because i haven't checked them out. - I have a parent pom.xml with 3 modules in it ( Flat layout ) - But i let the parent project get checked out - The <modules> are specified inside a "modules" profile. - The profile is per default active. BUT, it disable it for this build via "-P!modules" -> So a manual Maven Build on the commandline works. But Jenkins fails, because it tries to load the pom of one of the other modules, which aren't there. Now I cannot build. So: - Jenkins should respect profile activateino i pass in at "Goals and options". - when jenkins internal parsing fails, there is no reason the jenkins build itself fails. LOG: Parsing POMs ERROR: POMs konnten nicht geparst werden org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-readable POM /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml: /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml (No such file or directory) @ at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339) at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361) at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:322) at hudson.maven.MavenModuleSetBuild$PomParser.readChilds(MavenModuleSetBuild.java:1307) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1214) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1032) at hudson.FilePath.act(FilePath.java:785) at hudson.FilePath.act(FilePath.java:767) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:897) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:647) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461) at hudson.model.Run.run(Run.java:1404) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Email was triggered for: Failure

    Jenkins JIRA | 5 years ago | Rainer Weinhold
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-readable POM /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml: /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml (No such file or directory) @
  2. 0

    Hudson build fail: Non-resolvable parent POM

    Stack Overflow | 6 years ago | Nicolas
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Could not find artifact com.rha:MyProject:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 9, column 10
  3. 0

    Jenkins/Hudson - Cannot build multimodule project

    Stack Overflow | 5 years ago | Tomas
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Failure to find cz.cvut.fit.wst:wst-root-pom:pom:1.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 3, column 10
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    'mvn -n' does not work after update to 1.393

    Google Groups | 6 years ago | Oli
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 60, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 69, column 15 [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../OpmCommon of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../OpmChannelWs of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../OpmClientCommon of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../DialogManager of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../SpreadsheetBridge of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../OPMCalcListener of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [ERROR] Child module /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/../CalcBridge of /home/hudson/.hudson/jobs/opm_OpmLibWS/workspace/pom.xml does not exist @ [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ line 304, column 15 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-pmd-plugin is missing. @ line 316, column 15 [WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 338, column 15
  6. 0

    Problems in setting up local Hudson CI for HBase

    Google Groups | 5 years ago | Ramkrishna S Vasudevan
    org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:8 from/to apache release ( <https://repository.apache.org/content/repositories/releases/> https://repository.apache.org/content/repositories/releases/): Error transferring file: Connection timed out: connect and 'parent.relativePath' points at wrong local POM @ line 10, column 11

  1. davidvanlaatum 5 times, last 4 weeks ago
  2. Adarro 1 times, last 4 months ago
  3. davidvanlaatum 3 times, last 5 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.maven.project.ProjectBuildingException

    Some problems were encountered while processing the POMs: [FATAL] Non-readable POM /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml: /srv/jenkins/jobs/p1-parent/workspace/p1-parent/../p1-common/pom.xml (No such file or directory) @

    at org.apache.maven.project.DefaultProjectBuilder.build()
  2. Maven
    DefaultProjectBuilder.build
    1. org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339)
    1 frame
  3. Hudson Maven Embedder
    MavenModuleSetBuild$PomParser.invoke
    1. hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361)
    2. hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331)
    3. hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:322)
    4. hudson.maven.MavenModuleSetBuild$PomParser.readChilds(MavenModuleSetBuild.java:1307)
    5. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1214)
    6. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1032)
    6 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:785)
    2. hudson.FilePath.act(FilePath.java:767)
    2 frames
  5. Hudson Maven Embedder
    MavenModuleSetBuild$RunnerImpl.doRun
    1. hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:897)
    2. hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:647)
    2 frames
  6. Hudson
    Run.run
    1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:461)
    2. hudson.model.Run.run(Run.java:1404)
    2 frames
  7. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:470)
    1 frame
  8. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:230)
    2 frames