org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvnet.hudson:hudson for project: org.jvnet.hudson.plugins:plugin:pom:1.247 for project org.jvnet.hudson.plugins:plugin:pom:1.247

Jenkins JIRA | redsolo | 8 years ago
  1. 0

    Currently the Hudson maven job is failing due to a maven dependency problem. Besides that I saw that the emai-ext is throwing an NPE when retrieving the content: Steps to reproduce: 1. Create a maven job with email-ext plugin enabled 2. Create a pom.xml that depends on a maven lib that doesnt exist (to provoke the error) 3. Build the job Expected outcome: A mail is sent according to the email-ext configuration Actual outcome: NPE in console: started Updating https://hudson.dev.java.net/svn/hudson/trunk/hudson/plugins U data/jobs/Hudson plugins/workspace/tfs/src/main/java/hudson/plugins/tfs/TfTool.java At revision 11450 Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvnet.hudson:hudson for project: org.jvnet.hudson.plugins:plugin:pom:1.247 for project org.jvnet.hudson.plugins:plugin:pom:1.247 at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:304) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:685) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:633) at hudson.FilePath.act(FilePath.java:319) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:383) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:284) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231) at hudson.model.Run.run(Run.java:786) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jvnet.hudson:hudson' not found in repository: Unable to download the artifact from any repository org.jvnet.hudson:hudson:pom:1.6 from the specified remote repositories: org.apache (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) for project org.jvnet.hudson:hudson at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) ... 14 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.jvnet.hudson:hudson:pom:1.6 from the specified remote repositories: org.apache (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556) ... 15 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:331) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200) ... 17 more [WARNINGS] Parsing warnings in log file... [WARNINGS] No annotations have been found. Email was triggered for: Failure There are 1 triggered emails. Sending email for trigger: Failure FATAL: null java.lang.NullPointerException at hudson.plugins.emailext.plugins.content.HudsonURLContent.getContent(HudsonURLContent.java:20) at hudson.plugins.emailext.ExtendedEmailPublisher.replaceTokensWithContent(ExtendedEmailPublisher.java:360) at hudson.plugins.emailext.ExtendedEmailPublisher.replaceTokensWithContent(ExtendedEmailPublisher.java:362) at hudson.plugins.emailext.ExtendedEmailPublisher.transformText(ExtendedEmailPublisher.java:340) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:295) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:265) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:257) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:215) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:446) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:804) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Stack

    Jenkins JIRA | 8 years ago | redsolo
    org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvnet.hudson:hudson for project: org.jvnet.hudson.plugins:plugin:pom:1.247 for project org.jvnet.hudson.plugins:plugin:pom:1.247
  2. 0

    Currently the Hudson maven job is failing due to a maven dependency problem. Besides that I saw that the emai-ext is throwing an NPE when retrieving the content: Steps to reproduce: 1. Create a maven job with email-ext plugin enabled 2. Create a pom.xml that depends on a maven lib that doesnt exist (to provoke the error) 3. Build the job Expected outcome: A mail is sent according to the email-ext configuration Actual outcome: NPE in console: started Updating https://hudson.dev.java.net/svn/hudson/trunk/hudson/plugins U data/jobs/Hudson plugins/workspace/tfs/src/main/java/hudson/plugins/tfs/TfTool.java At revision 11450 Parsing POMs ERROR: Failed to parse POMs org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvnet.hudson:hudson for project: org.jvnet.hudson.plugins:plugin:pom:1.247 for project org.jvnet.hudson.plugins:plugin:pom:1.247 at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215) at hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:304) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:685) at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:633) at hudson.FilePath.act(FilePath.java:319) at hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:383) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:284) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231) at hudson.model.Run.run(Run.java:786) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jvnet.hudson:hudson' not found in repository: Unable to download the artifact from any repository org.jvnet.hudson:hudson:pom:1.6 from the specified remote repositories: org.apache (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) for project org.jvnet.hudson:hudson at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) ... 14 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.jvnet.hudson:hudson:pom:1.6 from the specified remote repositories: org.apache (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556) ... 15 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:331) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200) ... 17 more [WARNINGS] Parsing warnings in log file... [WARNINGS] No annotations have been found. Email was triggered for: Failure There are 1 triggered emails. Sending email for trigger: Failure FATAL: null java.lang.NullPointerException at hudson.plugins.emailext.plugins.content.HudsonURLContent.getContent(HudsonURLContent.java:20) at hudson.plugins.emailext.ExtendedEmailPublisher.replaceTokensWithContent(ExtendedEmailPublisher.java:360) at hudson.plugins.emailext.ExtendedEmailPublisher.replaceTokensWithContent(ExtendedEmailPublisher.java:362) at hudson.plugins.emailext.ExtendedEmailPublisher.transformText(ExtendedEmailPublisher.java:340) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:295) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:265) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:257) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:215) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:446) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:804) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Stack

    Jenkins JIRA | 8 years ago | redsolo
    org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jvnet.hudson:hudson for project: org.jvnet.hudson.plugins:plugin:pom:1.247 for project org.jvnet.hudson.plugins:plugin:pom:1.247
  3. 0

    Cannot find parent pom, but it IS there

    Google Groups | 4 years ago | Chad....@emc.com
    org.apache.maven.project.ProjectBuildingException: Cannot find parent: com.my.group:project-pom for project: com.my.group.service.common:common:pom:1.1.0-SNAPSHOT for project com.my.group.service.common:common:pom:1.1.0-SNAPSHOT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins users - Building Maven Project that refers to a parent "POM" project

    nabble.com | 11 months ago
    org.apache.maven.project.ProjectBuildingException: Cannot find parent: com.mycompanytoo:corporate-pom for project: com.toto:bobo:war:1.0.0-SNAPSHOT for project com.toto:bobo:war:1.0.0-SNAPSHOT
  6. 0

    Error building trunk [moved]

    GitHub | 4 years ago | jyemin
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: com.google.code.morphia:morphia-parent for project: com.google.code.morphia:morphia:jar:1.00-SNAPSHOT for project com.google.code.morphia:morphia:jar:1.00-SNAPSHOT

  1. Александр Пастухов 17 times, last 7 months ago
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.wagon.ResourceDoesNotExistException

    Unable to download the artifact from any repository

    at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact()
  2. Maven
    DefaultMavenProjectBuilder.build
    1. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331)
    2. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200)
    3. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74)
    4. org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556)
    5. org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366)
    6. org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821)
    7. org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
    8. org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:215)
    8 frames
  3. Hudson Maven Embedder
    MavenModuleSetBuild$PomParser.invoke
    1. hudson.maven.MavenEmbedder.readProject(MavenEmbedder.java:304)
    2. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:685)
    3. hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:633)
    3 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:319)
    1 frame
  5. Hudson Maven Embedder
    MavenModuleSetBuild$RunnerImpl.doRun
    1. hudson.maven.MavenModuleSetBuild$RunnerImpl.parsePoms(MavenModuleSetBuild.java:383)
    2. hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:284)
    2 frames
  6. Hudson
    Run.run
    1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231)
    2. hudson.model.Run.run(Run.java:786)
    2 frames
  7. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204)
    1 frame
  8. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:70)
    2. hudson.model.Executor.run(Executor.java:88)
    2 frames