core: Update maven-war-plugin and maven-ear-plugin

This change updates the maven-war-plugin version to 2.2 and the
maven-ear-plugin version to 2.8. This update is required in order to use
the packagingIncludes and packagingExcludes configuration parameters
that are silently ignored in previous versions.

Change-Id: Iffc6ac741d4bb864246f67ea5c1e207013b96405
Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>