Updated the example applications to use the Maven target folder.
Added profiles for running the example applications.