<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.messagevortex</groupId>
    <artifactId>website</artifactId>
    <version>0.1.0</version>

    <!-- Output to jar format -->
    <packaging>pom</packaging>

    <properties>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    </properties>


    <dependencies>
    </dependencies>

    <build>
        <finalName>MessageVortex-website</finalName>
        <plugins>
            <plugin>
                <groupId>org.jbake</groupId>
                <artifactId>jbake-maven-plugin</artifactId>
                <version>0.3.5</version>
                <executions>
                    <execution>
                        <id>default-generate</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <inputDirectory>${project.basedir}/src/main/jbake</inputDirectory>
                    <outputDirectory>${project.build.directory}/main/jbake-tmp</outputDirectory>
                </configuration>
                <dependencies>
		        <dependency>
				<groupId>org.jbake</groupId>
				<artifactId>jbake-core</artifactId>
				<version>2.6.7</version>
			</dependency>
			<dependency>
				<groupId>org.asciidoctor</groupId>
				<artifactId>asciidoctorj</artifactId>
				<version>1.5.8.1</version>
			</dependency>
			<dependency>
				<groupId>org.freemarker</groupId>
				<artifactId>freemarker</artifactId>
				<version>2.3.28</version>
			</dependency>
			<dependency>
				<groupId>org.thymeleaf</groupId>
				<artifactId>thymeleaf</artifactId>
				<version>3.0.11.RELEASE</version>
			</dependency>
                </dependencies>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
		<version>1.6.0</version>
                <executions>
                    <execution>
                        <id>gnumake</id>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <phase>package</phase>
			<configuration>
				<workingDirectory>${project.basedir}</workingDirectory>
				<executable>make</executable>
			</configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>
