<?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>

    <parent>
        <groupId>com.buschmais.jqassistant</groupId>
        <artifactId>jqa-uber-parent</artifactId>
        <version>1.3.0</version>
    </parent>

    <groupId>com.buschmais.jqassistant</groupId>
        <artifactId>manual</artifactId>
    <version>1.3.0</version>

    <name>jQAssistant User Manual</name>
    <url>http://jqassistant.org/</url>

    <inceptionYear>2016</inceptionYear>

    <organization>
        <name>buschmais GbR</name>
        <url>http://www.buschmais.com</url>
    </organization>

    <licenses>
        <license>
            <name>GNU General Public License, v3</name>
            <url>http://www.gnu.org/licenses/gpl-3.0.html</url>
        </license>
    </licenses>

    <scm>
        <connection>scm:git:git@github.com:buschmais/jqa-manual.git</connection>
        <developerConnection>scm:git:git@github.com:buschmais/jqa-manual.git</developerConnection>
        <url>https://github.com/buschmais/jqa-manual</url>
      <tag>1.3.0</tag>
  </scm>

    <description>
        The user manual of jQAssistant.
    </description>

    <properties>
        <jqa.own-constraints.version>1.3.0</jqa.own-constraints.version>
        <jqa-distribution-spec.version>1.3.0</jqa-distribution-spec.version>
        <asciidoc.directory>${project.build.directory}/generated-asciidoc</asciidoc.directory>
        <org.asciidoctor-plugin.version>1.5.3</org.asciidoctor-plugin.version>
    </properties>


    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.buschmais.jqassistant</groupId>
                    <artifactId>jqassistant-maven-plugin</artifactId>
                    <configuration>
                        <severity>minor</severity>
                        <scanIncludes>
                            <scanInclude>
                                <path>${project.basedir}</path>
                            </scanInclude>
                        </scanIncludes>
                        <groups>
                            <group>jqa-legal</group>
                            <group>jqa-maven-constraints</group>
                            <group>jqa-project-layout</group>
                        </groups>
                    </configuration>
                    <dependencies>
                        <dependency>
                            <groupId>com.buschmais.jqassistant</groupId>
                            <artifactId>legal-constraints</artifactId>
                            <version>${jqa.own-constraints.version}</version>
                        </dependency>
                        <dependency>
                            <groupId>com.buschmais.jqassistant</groupId>
                            <artifactId>maven-commmon-constraints</artifactId>
                            <version>${jqa.own-constraints.version}</version>
                        </dependency>
                        <dependency>
                            <groupId>com.buschmais.jqassistant</groupId>
                            <artifactId>project-layout-constraints</artifactId>
                            <version>${jqa.own-constraints.version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.asciidoctor</groupId>
                <artifactId>asciidoctor-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>index</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>process-asciidoc</goal>
                        </goals>
                        <configuration>
                            <sourceDocumentName>index.adoc</sourceDocumentName>
                        </configuration>
                    </execution>
                    <execution>
                        <id>release-notes</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>process-asciidoc</goal>
                        </goals>
                        <configuration>
                            <sourceDocumentName>release-notes.adoc</sourceDocumentName>
                        </configuration>
                    </execution>
                </executions>
                <configuration>
                    <backend>xhtml5</backend>
                    <sourceHighlighter>coderay</sourceHighlighter>
                    <attributes>
                        <toc>auto</toc>
                        <toclevels>3</toclevels>
                        <tabsize>4</tabsize>
                        <stylesheet>jqassistant.css</stylesheet>
                        <docRoot>/${asciidoc.directory}</docRoot>
                        <projectGroupId>${project.groupId}</projectGroupId>
                        <projectArtifactId>${project.artifactId}</projectArtifactId>
                        <projectVersion>${project.version}</projectVersion>
                    </attributes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.buschmais.jqassistant</groupId>
                <artifactId>jqassistant-maven-plugin</artifactId>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>package-manual</id>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <phase>package</phase>
                        <configuration>
                            <attach>true</attach>
                            <finalName>jqassistant-manual-${project.version}</finalName>
                            <appendAssemblyId>false</appendAssemblyId>
                            <descriptor>${project.basedir}/src/main/assembly/manual.xml</descriptor>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack-manual-source</id>
                        <goals>
                            <goal>unpack-dependencies</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <outputDirectory>${asciidoc.directory}</outputDirectory>
                            <includeTypes>zip</includeTypes>
                            <includeClassifiers>asciidoc</includeClassifiers>
                            <stripVersion>true</stripVersion>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <!--
                 ! We need this JAR to pass the validations performed when
                 ! deploying via OSS Sonatype to Maven Central.
                 ! Oliver B. Fischer, 2017-01-01
                 !-->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default-jar</id>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <executions>
                    <execution>
                        <id>copy-apidocs</id>
                        <goals>
                            <goal>copy-resources</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <outputDirectory>${project.build.directory}/generated-docs</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>${asciidoc.directory}</directory>
                                    <includes>
                                        <include>*/apidocs/**/*</include>
                                    </includes>
                                </resource>
                            </resources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <!--
                 ! We need this JAR to pass the validations performed when
                 ! deploying via OSS Sonatype to Maven Central.
                 ! Oliver B. Fischer, 2017-01-01
                 !-->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <configuration>
                    <forceCreation>true</forceCreation>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default-test</id>
                        <phase>none</phase>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>


    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.buschmais.jqassistant</groupId>
                <artifactId>jqa-distribution-specification</artifactId>
                <version>${jqa-distribution-spec.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.buschmais.jqassistant.core</groupId>
            <artifactId>parent</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant</groupId>
            <artifactId>neo4jserver</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>jaxrs</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>cdi</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>common</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>ejb3</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>graphml</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>java</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>java8</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>javaee6</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>json</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>junit</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>jpa2</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>m2repo</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>maven3</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>osgi</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>rdbms</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>testng</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>tycho</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>xml</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.buschmais.jqassistant.plugin</groupId>
            <artifactId>yaml</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>

        <!--
         ! The documentation sources of the commandline tool
         !-->
        <dependency>
            <groupId>com.buschmais.jqassistant</groupId>
            <artifactId>jqassistant-commandline</artifactId>
            <type>zip</type>
            <version>1.3.0</version>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>

        <!--
         ! The documentation sources of the Maven plugin
         !-->
        <dependency>
            <groupId>com.buschmais.jqassistant</groupId>
            <artifactId>jqassistant-maven-plugin</artifactId>
            <type>zip</type>
            <classifier>asciidoc</classifier>
            <scope>provided</scope>
        </dependency>


    </dependencies>

    <repositories>
        <repository>
            <id>sonatype-nexus-snapshots</id>
            <name>Sonatype Nexus Snapshots</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

</project>
