<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>net.officefloor.tutorial</groupId>
    <artifactId>tutorials</artifactId>
    <version>3.10.0</version>
  </parent>
  <groupId>net.officefloor.tutorial</groupId>
  <artifactId>ScalaHttpServer</artifactId>
  <version>3.10.0</version>
  <name>ScalaScript Tutorial</name>
  <description>Tutorial of implementing logic with Scala</description>
  <licenses>
    <license>
      <name>AGPL</name>
      <url>http://www.gnu.org/licenses/agpl-3.0.en.html</url>
      <distribution>repo</distribution>
      <comments>Affero General Public License</comments>
    </license>
  </licenses>
  <properties>
    <projectVersion>${project.version}</projectVersion>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <basedir>${basedir}</basedir>
  </properties>
  <dependencies>
    <dependency>
      <groupId>net.officefloor.web</groupId>
      <artifactId>woof</artifactId>
    </dependency>
    <dependency>
      <groupId>net.officefloor.polyglot</groupId>
      <artifactId>officepolyglot_scala</artifactId>
    </dependency>
    <dependency>
      <groupId>net.officefloor.polyglot</groupId>
      <artifactId>officepolyglot_scalatest</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <profiles>
    <profile>
      <id>build-repositories</id>
      <activation>
        <file>
          <exists>${basedir}/pom.xml</exists>
        </file>
      </activation>
      <repositories>
        <repository>
          <id>maven2-repository.officefloor.net</id>
          <name>OfficeFloor Repository for Maven</name>
          <url>http://www.officefloor.net/maven2/</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
</project>
