pom.xml 3.62 KB
Newer Older
1 2
<?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">
3 4 5 6
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>de.codecentric</groupId>
        <artifactId>spring-boot-admin</artifactId>
Johannes Edmeier committed
7
        <version>1.4.4-SNAPSHOT</version>
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
        <relativePath>..</relativePath>
    </parent>
    <artifactId>spring-boot-admin-docs</artifactId>
    <packaging>pom</packaging>
    <name>Spring Boot Admin Docs</name>
    <description>Spring Boot Admin Documentation</description>
    <url>https://github.com/codecentric/spring-boot-admin/</url>
    <build>
        <plugins>
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>revision</goal>
                        </goals>
                        <configuration>
26
                            <failOnNoGitDirectory>false</failOnNoGitDirectory>
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
                            <skipPoms>false</skipPoms>
                            <generateGitPropertiesFile>false</generateGitPropertiesFile>
                            <dateFormat>dd.MM.yyyy</dateFormat>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.asciidoctor</groupId>
                <artifactId>asciidoctor-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>output-html</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>process-asciidoc</goal>
                        </goals>
                        <configuration>
                            <sourceDocumentName>index.adoc</sourceDocumentName>
                            <backend>html5</backend>
                            <sourceHighlighter>coderay</sourceHighlighter>
                            <attributes>
                                <commit-id>${git.commit.id.abbrev}</commit-id>
                                <commit-time>${git.commit.time}</commit-time>
                                <project-version>${project.version}</project-version>
52
                                <spring-cloud-version>${spring-cloud.version}</spring-cloud-version>
53
                                <samples-dir>${project.parent.basedir}/spring-boot-admin-samples/</samples-dir>
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
                            </attributes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>deploy-gh-pages</id>
                        <phase>deploy</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>./deploy-gh-pages.sh</executable>
                            <arguments>
                                <argument>${project.version}</argument>
                            </arguments>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
80
</project>