Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8445

Parsing poms fails if a module is a path to a pom (and not to a directory)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • 1.393-SNAPSHOT

      Yes it's dirty but it is supported by M2 and M3
      Here is the error :

      [FATAL] Non-readable POM /home/swfhudson/data/jobs/jcr-1.10.x-ci/workspace/connectors/ejb/ejb21/build-ear.xml/pom.xml: /home/swfhudson/data/jobs/jcr-1.10.x-ci/workspace/connectors/ejb/ejb21/build-ear.xml/pom.xml (Not a directory) @ 
      
      	at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:325)
      	at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:360)
      	at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:330)
      	at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:321)
      	at hudson.maven.MavenModuleSetBuild$PomParser.readChilds(MavenModuleSetBuild.java:1184)
      	at hudson.maven.MavenModuleSetBuild$PomParser.readChilds(MavenModuleSetBuild.java:1188)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1107)
      	at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:985)
      	at hudson.FilePath.act(FilePath.java:756)
      	at hudson.FilePath.act(FilePath.java:738)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:691)
      	at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:527)
      	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      	at hudson.model.Run.run(Run.java:1362)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:401)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:145)
      

            olamy Olivier Lamy
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: