Feb 13th, 2009, 07:07 AM
2.0M4: How to run cli simple archetype
Hello folks. I am no Maven guru, so here goes my probably naive question:
I have: OSX (10.5.6), Maven 2.0.9, and I've downloaded Spring Batch 2.0M4.
Now, my goal is to be able to run samples from the command line and adopt it for my own batch adventures (for easily testing batch stuff as I go).
So, in the samples directory, I've discovered an archetype.simple.cli which seems like what I need. After reading an instruction at the top of the pom.xm in that directory, I've tried to run 'mvn exec:java' and I got an error (obviously I'm missing some fundamental steps here, perhaps, but don't know which ones)
The error goes like this:
Error building POM (may not be this project's POM).
Project ID: null:org.springframework.batch.core:jar:2.0.0.M4
Reason: Cannot find parent: org.springframework.batch:org.springframework.batc h for project: null:org.springframework.batch.core:jar:2.0.0.M4 for project null:org.springframework.batch.core:jar:2.0.0.M4
I'm attaching the screen shot. Any pointers on how to run/install this archetype will be greatly appreciated.
Tags for this Thread