hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Scenario: I have a pom that is an organizational pom. It's the organization's super pom. It has a set of default values to be inherited by all projects. Two problems: 1. Via Job the project won't build at all. Maven can't find the external parent pom. It seems to completely ignore ~/.m2/settings.xml which configures a mirrorOf central. It still doesn't work even when the parent pom is installed locally. This is true of single or multimodule maven projects. started Updating https://subversion.../trunk At revision 7854 no change for https://subversion.../trunk since the previous build Parsing POMs ERROR: Failed to parse POMs hudson.util.IOException2: Cannot find parent: org.calgb:CalgbParentPom for project: org.calgb.util:Util:jar:1.0-SNAPSHOT at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:520) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:457) at hudson.FilePath.act(FilePath.java:280) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:239) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:182) at hudson.model.Run.run(Run.java:579) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:62) Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.calgb:CalgbParentPom for project: org.calgb.util:Util:jar:1.0-SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:269) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:499) ... 8 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.calgb:CalgbParentPom' not found in repository: Unable to download the artifact from any repository org.calgb:CalgbParentPom:pom:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157) ... 13 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.calgb:CalgbParentPom:pom:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467) ... 14 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124) ... 16 more finished: FAILURE 2. The module itself can build, BUT you have to locally install the organizational parent pom and either install locally all local dependencies or configure the local maven repository in the external pom. Again, settings.xml seems to be completely ignored. None of these problems exist if I don't reference the external parent pom. And it happens only within Hudson.
    via by robdale,
  • Error building trunk [moved]
    via GitHub by jyemin
    ,
  • Installation issue
    via GitHub by ioudas210
    ,
  • Basic Maven Help -- Can't Compile
    via Stack Overflow by user489041
    ,
  • Ussdgateway: Error MAPDialog
    via by morgan...@moobifun.com,
  • Ussd Gateway Build Error
    via by Ahmed Khan,
    • hudson.util.IOException2: Cannot find parent: org.calgb:CalgbParentPom for project: org.calgb.util:Util:jar:1.0-SNAPSHOT at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:520) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:457) at hudson.FilePath.act(FilePath.java:280) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:239) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:182) at hudson.model.Run.run(Run.java:579) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:62) Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.calgb:CalgbParentPom for project: org.calgb.util:Util:jar:1.0-SNAPSHOT at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:269) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:499) ... 8 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.calgb:CalgbParentPom' not found in repository: Unable to download the artifact from any repository org.calgb:CalgbParentPom:pom:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157) ... 13 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.calgb:CalgbParentPom:pom:1.0.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467) ... 14 more Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124) ... 16 more

    Users with the same issue

    Unknown visitor1 times, last one,