Conditionally set pom arg.