Fixes to make pom.xml build work.

* sourceDirectory needed to be more explicit.
* moved adoc/images into a folder to follow conventions/avoid overcrowding in
root.
* added handling of image sync