<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>org.nuxeo.ecm.platform</groupId>
    <artifactId>nuxeo-services-parent</artifactId>
    <version>5.5.0-HF12</version>
  </parent>

  <groupId>org.nuxeo.ecm.webengine</groupId>
  <artifactId>nuxeo-webengine-parent</artifactId>
  <version>5.5.0-HF12</version>
  <packaging>pom</packaging>
  <name>Nuxeo WebEngine</name>
  <description>
    Nuxeo WebEngine is the lightweight content-centric web framework.
  </description>

  <modules>
    <module>nuxeo-webengine-jaxrs</module>
    <module>nuxeo-webengine-core</module>
    <module>nuxeo-webengine-ui</module>
    <module>nuxeo-webengine-gwt</module>
    <module>nuxeo-theme-webengine</module>
  </modules>

  <dependencies>
    <!-- needed by APT for annotation processing -->
    <dependency>
      <groupId>org.nuxeo.build</groupId>
      <artifactId>nuxeo-apt-extensions</artifactId>
    </dependency>
    <!--this is required to index annotations at build time -->
    <dependency>
      <groupId>org.nuxeo.build</groupId>
      <artifactId>nuxeo-webengine-apt</artifactId>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <!-- APT plugin for annotation preprocessing -->
      <plugin>
        <groupId>org.apache.myfaces.tobago</groupId>
        <artifactId>maven-apt-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-bindings</id>
            <goals>
              <goal>execute</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <!-- end APT plugin -->
    </plugins>
  </build>

  <scm>
    <connection>scm:hg:http://hg.nuxeo.org/nuxeo/nuxeo-webengine</connection>
    <developerConnection>scm:hg:https://hg.nuxeo.org/nuxeo/nuxeo-webengine</developerConnection>
    <url>http://hg.nuxeo.org/nuxeo/nuxeo-webengine</url>
  </scm>

  <repositories>
    <repository>
      <id>public</id>
      <url>http://maven.nuxeo.org/nexus/content/groups/public</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>public-snapshot</id>
      <url>http://maven.nuxeo.org/nexus/content/groups/public-snapshot</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <updatePolicy>always</updatePolicy>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>public</id>
      <url>http://maven.nuxeo.org/nexus/content/groups/public</url>
      <name>Nuxeo virtual release repository</name>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </pluginRepository>
    <pluginRepository>
      <id>public-snapshot</id>
      <url>http://maven.nuxeo.org/nexus/content/groups/public-snapshot</url>
      <name>Nuxeo virtual snapshot repository</name>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <updatePolicy>always</updatePolicy>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>

</project>