<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>
  <groupId>org.melati</groupId>
  <artifactId>melati-archetype</artifactId>
  <parent>
    <groupId>org.melati</groupId>
    <artifactId>melati-parent</artifactId>
    <version>0.8.0-SNAPSHOT</version>
  </parent>
  <packaging>jar</packaging>
  <name>Melati Archetype</name>
  <url>http://melati.org/melati-archetype/</url>
  <properties>
    <!-- Guess what, this does not work -->
    <velocimacro.permissions.allow.inline.to.replace.global>true</velocimacro.permissions.allow.inline.to.replace.global>
    <!--  nor is velocity.properties respected -->
    
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  </properties>
  <build>
  <resources>
    <resource>
      <directory>src/site/xdocTemplates</directory>
      <targetPath>generatedXdoc</targetPath>
      <filtering>true</filtering>
    </resource>
  </resources>
    <plugins>
      <!-- See http://grokbase.com/t/maven/users/067hp0434q/m2-insert-variables-in-xdoc-apt-files -->
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-site-plugin</artifactId>
      <configuration>
        <xdocDirectory>
          ${project.build.outputDirectory}/generatedXdoc
        </xdocDirectory>
      </configuration>
    </plugin>
    </plugins>
  </build>
</project>