packaging is not inherited, it defaults to jar.