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

Spring JIRA | JIwei Wu | 7 years ago
  1. 0

    I downloaded org.springframework.batch-2.0.0.RELEASE-with-dependencies.zip 1. unzipped it to directory org.springframework.batch-2.0.0.RELEASE 2. cd samples 3. mvn test Project ID: null:org.springframework.batch.samples:jar:null Reason: Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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.batch:org.springframework.batch.parent 4. cd .. 5. ln -s sources/spring-batch-parent samples/spring-batch-parent 6. test passed so samples directory missed spring-batch-parent as it is ubder 'sources'

    Spring JIRA | 7 years ago | JIwei Wu
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null
  2. 0

    I downloaded org.springframework.batch-2.0.0.RELEASE-with-dependencies.zip 1. unzipped it to directory org.springframework.batch-2.0.0.RELEASE 2. cd samples 3. mvn test Project ID: null:org.springframework.batch.samples:jar:null Reason: Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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.batch:org.springframework.batch.parent 4. cd .. 5. ln -s sources/spring-batch-parent samples/spring-batch-parent 6. test passed so samples directory missed spring-batch-parent as it is ubder 'sources'

    Spring JIRA | 7 years ago | JIwei Wu
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null
  3. 0

    GeoServer - Dev - Pom Broken on 1.4.x

    nabble.com | 2 years ago
    org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. Reason: Unrecognised tag:  'executions' (position: START_TAG seen ...</artifactId>\r\n\t\t\t\t<executions>... @617:17)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven - Users - [m2] Pb with test resources

    nabble.com | 2 years ago
    org.apache.maven.reactor.MavenExecutionException: Parse error reading POM
  6. 0

    Jenkins dev - Error trying to release StarTeam plugin

    nabble.com | 11 months ago
    org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jvnet.hudson.plugins:plugin for project: hudson.plugins:starteam:hpi:0.1.3 for project hudson.plugins:starteam:hpi:0.1.3

    1 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.reactor.MavenExecutionException

      Cannot find parent: org.springframework.batch:org.springframework.batch.parent for project: null:org.springframework.batch.samples:jar:null for project null:org.springframework.batch.samples:jar:null

      at org.apache.maven.DefaultMaven.getProjects()
    2. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:432)
      2. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:300)
      3. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
      3 frames
    3. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
      1 frame
    4. 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
    5. 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