With #4855, JobRegistrySmartInitializingSingleton has been deprecated, and instead MapJobRegistry implements SmartInitializingSingleton to auto-register the jobs it discovers in its application context.
But this does not work for jobs that are defined in a child application context.
In the documented example, if you add a MapJobRegistry to the CommonBatchConfiguration, you will notice that the registry remains empty.