Can specific parts of the development lifecycle be automated, using command line, Ant or Maven?
Yes.
Maven 3 is the tool of choice. There are multiple samples of business processes and code supporting service establishment under the jBPM and SwitchYard examples.