<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>com.atlassian.security</groupId>
    <artifactId>atlassian-security</artifactId>
    <version>6.0.0</version>
  </parent>

  <artifactId>atlassian-secure-xml</artifactId>

  <name>Atlassian Secure XML</name>
  <description>Utility methods to construct parsers suitable for XML from untrusted sources.</description>

  <!-- This must be >= 2.7.1, or nothing (to use the JDK's bundled version)-->
  <properties>
    <test.xml.parser.groupId>xerces</test.xml.parser.groupId>
    <test.xml.parser.artifactId>xercesImpl</test.xml.parser.artifactId>
    <test.xml.parser.version>2.12.1</test.xml.parser.version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-all</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>${test.xml.parser.groupId}</groupId>
      <artifactId>${test.xml.parser.artifactId}</artifactId>
      <version>${test.xml.parser.version}</version>
      <scope>test</scope>
    </dependency>

    <!-- Since JDK9, we need to include JAXB because it's no longer part of the core -->
    <dependency>
      <groupId>org.glassfish.jaxb</groupId>
      <artifactId>jaxb-runtime</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>javax.xml.bind</groupId>
      <artifactId>jaxb-api</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>
