packaging: spec: update maven depmap

Added calls to %update_maven_depmap macro in %post
and %postun if %{install_poms} in tools, restapi and base
package.
Fix missing update of /etc/maven/maven2-depmap.xml
on rpm upgrade.

Change-Id: I099e71ee951772aa3a69fb2655513c69e9dce7b3
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>