<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.apache.phoenix</groupId>
  <version>2.0.0-SNAPSHOT</version>
  <artifactId>phoenix-site</artifactId>
  <name>Phoenix</name>
  <url>http://phoenix.apache.org/</url>
  <description>Phoenix site</description>

  <licenses>
      <license>
          <name>The Apache Software License, Version 2.0</name>
          <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
          <distribution>repo</distribution>
          <comments />
      </license>
  </licenses>

  <organization>
      <name>Apache Software Foundation</name>
      <url>http://www.apache.org</url>
  </organization>

  <build>
  <directory>${project.basedir}/t1</directory>
    <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-site-plugin</artifactId>
       <version>3.12.1</version>
       <dependencies>
        <dependency>
           <groupId>org.apache.maven.doxia</groupId>
           <artifactId>doxia-module-markdown</artifactId>
           <version>2.0.0-M2</version>
         </dependency>
         <dependency>
           <groupId>io.github.devacfr.maven.skins</groupId>
           <artifactId>reflow-velocity-tools</artifactId>
           <version>2.3.3</version>
         </dependency>
       </dependencies>
       <configuration>
          <outputDirectory>${basedir}/../publish</outputDirectory>
       </configuration>
     </plugin>
     <plugin>
       <artifactId>exec-maven-plugin</artifactId>
       <groupId>org.codehaus.mojo</groupId>
       <version>3.5.0</version>
       <executions>
        <execution>
          <id>Merge Language Reference</id>
           <phase>site</phase>
           <goals>
             <goal>exec</goal>
           </goals>
           <configuration>
             <executable>${basedir}/src/site/bin/merge.sh</executable>
           </configuration>
         </execution>
       </executions>
      </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
                <execution>
                    <id>unpack</id>
                    <phase>pre-site</phase>
                    <goals>
                        <goal>unpack</goal>
                    </goals>
                    <configuration>
                        <artifactItems>
                            <artifactItem>
                                <groupId>io.github.devacfr.maven.skins</groupId>
                                <artifactId>reflow-default-webdeps</artifactId>
                                <version>2.3.3</version>
                                <type>jar</type>
                                <overWrite>true</overWrite>
                                <includes>
                                    **/css/fontawesome/**/*,
                                    **/css/themes/flatly/bootstrap.min.css,
                                    **/js/*.js,
                                    **/js/languages/*,
                                    **/js/styles/default.min.css
                                </includes>
                            </artifactItem>
                        </artifactItems>
                        <outputDirectory>${basedir}/../publish</outputDirectory>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>
