Improved the test resources.
Improved logic to generate the xar.
Added unit test,
Improved pom for unit test.
Improved plugin's pom.