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

Jenkins JIRA | amit kamate | 8 months ago
  1. 0

    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

    Jenkins JIRA | 8 months ago | amit kamate
    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
  2. 0

    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

    Jenkins JIRA | 8 months ago | amit kamate
    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
  3. 0

    Maven build is failing in Jenkins

    Stack Overflow | 1 year ago | madu
    hudson.maven.MavenEmbedderException: 1 problem was encountered while building the effective settings [FATAL] Non-readable settings C:\Program Files\apache-maven-3.2.3: C:\Program Files\apache-maven-3.2.3 (Access is denied) @ C:\Program Files\apache-maven-3.2.3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven fails to parse POMs at jenkins

    Stack Overflow | 3 years ago | Lasse L
    hudson.maven.MavenEmbedderException: 1 problem was encountered while building the effective settings [FATAL] Non-readable settings /root/.jenkins/workspace/testtools: /root/.jenkins/workspace/testtools (Is a directory) @ /root/.jenkins/workspace/testtools
  6. 0

    Change Maven Settings Location Drools Workbench

    Stack Overflow | 4 days ago | Travis Smith
    org.jboss.weld.exceptions.WeldException: WELD-000049 Unable to invoke [method] @PostConstruct public org.guvnor.m2repo.backend.server.GuvnorM2Repository.init() on org.guvnor.m2repo.backend.server.GuvnorM2Repository@71e70007

    2 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.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()
    2. Maven Settings Builder
      DefaultSettingsBuilder.build
      1. org.apache.maven.settings.building.DefaultSettingsBuilder.build(DefaultSettingsBuilder.java:116)
      1 frame
    3. Hudson Maven Embedder
      MavenModuleSetBuild$PomParser.invoke
      1. hudson.maven.MavenEmbedder.getSettings(MavenEmbedder.java:259)
      2. hudson.maven.MavenEmbedder.buildMavenExecutionRequest(MavenEmbedder.java:157)
      3. hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:120)
      4. hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:109)
      5. hudson.maven.MavenEmbedder.<init>(MavenEmbedder.java:136)
      6. hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:212)
      7. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1285)
      8. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1088)
      8 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:990)
      2. hudson.FilePath.act(FilePath.java:968)
      2 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun
      1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:950)
      2. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:677)
      2 frames
    6. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      2. hudson.model.Run.execute(Run.java:1738)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:410)
      2 frames