Made it possible to specify the EAR when using the DB profile (to be able to harvest the downloadable artifacts from the EAR and run the db scripts from the EAR and so on).