Add configuration options for the java plugin.