<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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.powertac</groupId>
    <artifactId>server-master</artifactId>
    <version>1.3.2</version>
    <!-- prevents local resolution - you must install the parent locally
         if it is not in the central or snapshot repo -->
    <relativePath /> 
  </parent>

  <artifactId>server-interface</artifactId>
  <version>1.3.2</version>
  <name>Power TAC server interface</name>
  <description>
    interfaces and domain types shared by multiple server components
  </description>

  <properties>
    <aspectj-plugin.version>1.8</aspectj-plugin.version>
    <aspectj-plugin.compliance>1.8</aspectj-plugin.compliance>
  </properties>

  <!-- Sonatype OSS repo for resolving snapshot modules -->
  <repositories>
    <repository>
      <id>sonatype</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </repository>
  </repositories>

  
  <scm>
    <connection>scm:git:git//github.com/powertac/server-interface.git</connection>
    <developerConnection>scm:git:git@github.com:powertac/server-interface.git</developerConnection>
    <url>https://github.com/powertac/server-interface</url>
  </scm>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>aspectj-maven-plugin</artifactId>
        <version>${aspectj-plugin.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>compile</goal>
              <goal>test-compile</goal>
            </goals>
            <configuration>
              <verbose>false</verbose>
              <complianceLevel>${aspectj-plugin.compliance}</complianceLevel>
              <weaveDependencies>
                <weaveDependency>
                  <groupId>org.powertac</groupId>
                  <artifactId>common</artifactId>
                </weaveDependency>
              </weaveDependencies>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
