<?xml version="1.0" encoding="UTF-8"?>
<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>

  <groupId>org.wikbook</groupId>
  <artifactId>wikbook.parent</artifactId>
  <packaging>pom</packaging>
  <version>0.9.12</version>

  <name>Wikbook parent</name>
  <description>The Wikbook project</description>
  <url>http://wikbook.googlecode.org</url>

  <organization>
    <name>eXo Platform SAS</name>
    <url>http://www.exoplatform.com</url>
  </organization>

  <licenses>
    <license>
      <name>LGPL, version 2.1</name>
      <url>http://www.opensource.org/licenses/lgpl-license.php</url>
    </license>
  </licenses>

  <scm>
    <connection>scm:svn:http://wikbook.googlecode.com/svn/tags/0.9.12</connection>
    <developerConnection>scm:svn:https://wikbook.googlecode.com/svn/tags/0.9.12</developerConnection>
    <url>http://code.google.com/p/wikbook/source/browse/tags/0.9.12</url>
  </scm>

  <distributionManagement>
    <repository>
      <id>repository.exoplatform.org</id>
      <url>${wikbook.releases.repo.url}</url>
    </repository>
    <snapshotRepository>
      <id>repository.exoplatform.org</id>
      <url>${wikbook.snapshots.repo.url}</url>
    </snapshotRepository>
  </distributionManagement>

  <repositories>
    <repository>
      <id>xwiki</id>
      <url>http://maven.xwiki.org/releases</url>
    </repository>
    <repository>
      <id>javaparser</id>
      <url>http://javaparser.googlecode.com/svn/maven2/</url>
    </repository>
  </repositories>

  <properties>
    <maven.compiler.target>1.5</maven.compiler.target>
    <maven.compiler.source>1.5</maven.compiler.source>
    <wikbook.version>${project.version}</wikbook.version>
    <wikbook.releases.repo.url>http://repository.exoplatform.org/content/repositories/wikbook-releases/</wikbook.releases.repo.url>
    <wikbook.snapshots.repo.url>http://repository.exoplatform.org/content/repositories/wikbook-snapshots/</wikbook.snapshots.repo.url>

    <!-- maven-release-plugin -->
    <useReleaseProfile>false</useReleaseProfile>
    <autoVersionSubmodules>true</autoVersionSubmodules>
  </properties>

  <dependencyManagement>
    <dependencies>
      
      <dependency>
        <groupId>org.wikbook</groupId>
        <artifactId>wikbook.codesource</artifactId>
        <version>0.9.12</version>
      </dependency>
      <dependency>
        <groupId>org.wikbook</groupId>
        <artifactId>wikbook.core</artifactId>
        <version>0.9.12</version>
      </dependency>
      <dependency>
        <groupId>org.wikbook</groupId>
        <artifactId>wikbook.maven</artifactId>
        <version>0.9.12</version>
      </dependency>
      <dependency>
        <groupId>org.wikbook</groupId>
        <artifactId>wikbook.docbkxstyle</artifactId>
        <version>0.9.12</version>
      </dependency>
      <dependency>
        <groupId>org.wikbook</groupId>
        <artifactId>wikbook.docbkx</artifactId>
        <version>0.9.12</version>
      </dependency>
      <dependency>
        <groupId>org.wikbook</groupId>
        <artifactId>wikbook.doc</artifactId>
        <version>0.9.12</version>
      </dependency>
      
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>3.8.2</version>
      </dependency>
      <dependency>
        <groupId>org.xwiki.platform</groupId>
        <artifactId>xwiki-core-rendering-syntax-wikimodel</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>org.xwiki.platform</groupId>
        <artifactId>xwiki-core-component-default</artifactId>
        <version>2.2.3</version>
      </dependency>
      <dependency>
        <groupId>xmlunit</groupId>
        <artifactId>xmlunit</artifactId>
        <version>1.2</version>
      </dependency>
      <dependency>
        <groupId>com.google.code.javaparser</groupId>
        <artifactId>javaparser</artifactId>
        <version>1.0.8</version>
      </dependency>
      <dependency>
        <groupId>org.cojen</groupId>
        <artifactId>cojen</artifactId>
        <version>2.0</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <modules>
    <module>codesource</module>
    <module>core</module>
    <module>maven</module>
    <module>docbkxstyle</module>
    <module>docbkx</module>
    <module>doc</module>
  </modules>

  <build>

    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.1.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.3</version>
        </plugin>
        <plugin>
          <groupId>com.agilejava.docbkx</groupId>
          <artifactId>docbkx-maven-plugin</artifactId>
          <version>2.0.7</version>
        </plugin>
        <plugin>
          <groupId>org.wikbook</groupId>
          <artifactId>wikbook.maven</artifactId>
          <version>0.9.12</version>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar-no-fork</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>