org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework:org.springframework.parent for project: null:org.springframework.core:jar:null for project null:org.springframework.core:jar:null

Spring JIRA | Yang Gu | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    example(diameter-openims)mvn clean install failure

    GitHub | 2 years ago | JeffKingCN
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.mobicents.servlet.sip.examples:sip-servlets-examples-parent for project: null:diameter-openims:war:null for project null:diameter-openims:war:null
  2. 0

    Re:Examinator 1.0.3 doesn't compile

    Terracotta | 8 years ago | joachimm
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.terracotta.forge:forge-parent for project: org.terracotta.re ference:examinator:war:1.0.4 for project org.terracotta.reference:examinator:war:1.0.4
  3. 0

    Can't find the parent module org.springframework.parent when build each module with maven2. The scenario is described as below: I check out the trunk of spring-framework 3.0 and walking all the pom.xml of each module,but I can't find the org.springframework.org.springframework.parent-3.0-M1-SNAPSHOT module which is defined in the pom.xml. e.g. Describes in the pom.xml of the org.springframework.core module is <?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.springframework</groupId> <artifactId>org.springframework.parent</artifactId> <version>3.0-M1-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>org.springframework.core</artifactId> <packaging>jar</packaging> <name>Spring Framework: Core</name> ...... Then I build the core module from the command line with maven and I got the failure information: [INFO] Scanning for projects... Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/springframework/org.springframework.parent/3.0-M1-SNAPSHOT/org.springframework.parent-3.0-M1-SNAPSHOT.pom Downloading: http://people.apache.org/repo/m2-snapshot-repository//org/springframework/org.springframework.parent/3.0-M1-SNAPSHOT/org.springframework.parent-3.0-M1-SNAPSHOT.pom Downloading: http://snapshots.repository.codehaus.org/org/springframework/org.springframework.parent/3.0-M1-SNAPSHOT/org.springframework.parent-3.0-M1-SNAPSHOT.pom Downloading: http://snapshots.jboss.org/maven2/org/springframework/org.springframework.parent/3.0-M1-SNAPSHOT/org.springframework.parent-3.0-M1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: null:org.springframework.core:jar:null Reason: Cannot find parent: org.springframework:org.springframework.parent for project: null:org.springframework.core:jar:null for project null:org.springframework.core:jar:null [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework:org.springframework.parent for project: null:org.springframework.core:jar:null for project null:org.springframework.core:jar:null at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.springframework:org.springframework.parent for project: null:org.springframework.core:jar:null for project null:org.springframework.core:jar:null 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:198) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) ... 11 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.springframework:org.springframework.parent' not found in repository: Unable to download the artifact from any repository org.springframework:org.springframework.parent:pom:3.0-M1-SNAPSHOT from the specified remote repositories: jboss.org (http://repository.jboss.org/maven2), codehaus.snapshots (http://snapshots.repository.codehaus.org), jboss-snapshot (http://snapshots.jboss.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository/), jboss.com (http://repository.jboss.com/maven2), maven2.mirrors.ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2), maven.central (http://repo1.maven.org/maven2), codehaus.central (http://repository.codehaus.org), central (http://repo1.maven.org/maven2) for project org.springframework:org.springframework.parent at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) ... 17 more Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository org.springframework:org.springframework.parent:pom:3.0-M1-SNAPSHOT from the specified remote repositories: jboss.org (http://repository.jboss.org/maven2), codehaus.snapshots (http://snapshots.repository.codehaus.org), jboss-snapshot (http://snapshots.jboss.org/maven2), apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository/), jboss.com (http://repository.jboss.com/maven2), maven2.mirrors.ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2), maven.central (http://repo1.maven.org/maven2), codehaus.central (http://repository.codehaus.org), 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) ... 18 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) ... 20 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 seconds [INFO] Finished at: Sun Dec 07 19:51:36 CST 2008 [INFO] Final Memory: 1M/254M [INFO] ------------------------------------------------------------------------ Obviously,this is because miss the parent module 'org.springframework.parent-3.0-M1-SNAPSHOT'. The parent module should be included in the source in the svn so that anyone can build successful from sources with maven.

    Spring JIRA | 8 years ago | Yang Gu
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework:org.springframework.parent for project: null:org.springframework.core:jar:null for project null:org.springframework.core:jar:null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins issues - [JIRA] Created: (HUDSON-6829) Build fails

    nabble.com | 2 years ago
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: com.company.app.install.package:package-main for project: com.company.app.install.package.cluster:app-cluster-jboss-40x-as:pom:null for project com.company.app.install.package.cluster:app-cluster-jboss-40x-as:pom:null
  6. 0

    db:: 2.87::2.0.0BETA1 jboss-seam-ui.jar doesn't match source jm

    hivmr.com | 1 year ago
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: jboss:jboss-seam for project: jboss:jboss-seam-ui:jar:null
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:198)
    8 frames
  3. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
    2. org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
    3. org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
    4. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
    5. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    5 frames
  4. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. Plexus
    Launcher.main
    1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    4 frames