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

Getting ERROR: Failed to parse POMs while trying to build

XMLWordPrintable

      ERROR: Failed to parse POMs
      hudson.maven.MavenEmbedderException: 2 problems were encountered while building the effective settings
      [FATAL] Non-readable settings /usr/share/maven3: /usr/share/maven3 (Is a directory) @ /usr/share/maven3
      [FATAL] Non-readable settings /usr/share/maven3: /usr/share/maven3 (Is a directory) @ /usr/share/maven3

      at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:128)
      at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:109)
      at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:136)
      at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:212)
      at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1285)
      at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1088)
      at hudson.FilePath.act(FilePath.java:990)
      at hudson.FilePath.act(FilePath.java:968)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:950)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1738)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Caused by: hudson.maven.MavenEmbedderException: 2 problems were encountered while building the effective settings
      [FATAL] Non-readable settings /usr/share/maven3: /usr/share/maven3 (Is a directory) @ /usr/share/maven3
      [FATAL] Non-readable settings /usr/share/maven3: /usr/share/maven3 (Is a directory) @ /usr/share/maven3

      at hudson.maven.MavenEmbedder.getSettings(MavenEmbedder.java:261)
      at hudson.maven.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:157)
      at hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:120)
      ... 14 more
      Caused by: org.apache.maven.settings.building.SettingsBuildingException: 2 problems were encountered while building the effective settings
      [FATAL] Non-readable settings /usr/share/maven3: /usr/share/maven3 (Is a directory) @ /usr/share/maven3
      [FATAL] Non-readable settings /usr/share/maven3: /usr/share/maven3 (Is a directory) @ /usr/share/maven3

      at org.apache.maven.settings.building.DefaultSettingsBuilder.build(DefaultSettingsBuilder.java:116)
      at hudson.maven.MavenEmbedder.getSettings(MavenEmbedder.java:259)
      ... 16 more
      Finished: FAILURE

            eyalbe Eyal Ben Moshe
            amitkamate amit kamate
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: