<def-group>
  <definition class="compliance" id="java_jre_deployment_properties_exists" version="1">
    <metadata>
      <title>The Java Properties File Exists</title>
      <affected family="unix">
        <product>Java Runtime Environment</product>
      </affected>
      <description>A properties file must be present to hold all the keys
      that establish properties within the Java control panel.</description>
      <reference source="galford" ref_id="20150422" ref_url="test_attestation" />
    </metadata>
    <criteria>
      <criterion comment="Check deployment.properties file" test_ref="test_java_jre_deployment_properties" />
    </criteria>
  </definition>

  <unix:file_test check="all" comment="Check deployment.properties file" id="test_java_jre_deployment_properties" version="1">
    <unix:object object_ref="object_java_jre_deployment_properties" />
  </unix:file_test>
  <unix:file_object id="object_java_jre_deployment_properties" version="1">
    <unix:filepath>/etc/.java/deployment/deployment.properties</unix:filepath>
  </unix:file_object>

</def-group>
