Fixed wrong java compiler version.
Fixed broken test.
Updated maven setup.