-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
126 lines (118 loc) · 5.2 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
52
53
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.arunoday</groupId>
<artifactId>liquibase-refcard</artifactId>
<version>1.0.5-SNAPSHOT</version>
<name>Liquibase Reference Card</name>
<packaging>pom</packaging>
<scm>
<connection>scm:git:git://github.com/aparnachaudhary/liquibase-refcard.git</connection>
<developerConnection>scm:git:[email protected]:aparnachaudhary/liquibase-refcard.git</developerConnection>
<url>https://github.com/aparnachaudhary/liquibase-refcard</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>aparnac</id>
<name>Aparna Chaudhary</name>
<email>[email protected]</email>
</developer>
</developers>
<distributionManagement>
<snapshotRepository>
<id>nexus-snapshots</id>
<name>Nexus Snapshot Repository</name>
<url>http://localhost:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>nexus-releases</id>
<name>Nexus Release Repository</name>
<url>http://localhost:8081/content/repositories/releases</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>0.1.3.1</version>
<executions>
<execution>
<id>output-html</id>
<phase>pre-site</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDirectory>${slides.input}/content/</sourceDirectory>
<outputDirectory>${slides.output}</outputDirectory>
<synchronizations>
<synchronization>
<source>${slides.input}/resources</source>
<target>${slides.output}</target>
</synchronization>
</synchronizations>
<title>Liquibase RefCard</title>
<home>refcard</home>
<attributes>
<description>RefCard</description>
<keywords>refcard</keywords>
<author>Aparna Chaudhary</author>
<email>[email protected]</email>
<revdate>${maven.build.timestamp}</revdate>
<revnumber>${project.version}</revnumber>
<highlightjsdir>js</highlightjsdir>
<highlightjs-theme>github</highlightjs-theme>
</attributes>
<backend>html5</backend>
<compact>true</compact>
<headerFooter>true</headerFooter>
<sourceHighlighter>highlightjs</sourceHighlighter>
<templateDir>${slides.input}/backend</templateDir>
<templateEngine/>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>publish</id>
<build>
<plugins>
<plugin>
<!-- Deploy the web site -->
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<!-- select the Maven phase in which the plugin will be executed -->
<phase>site</phase>
<configuration>
<server>github</server>
<!-- The commit message -->
<message>Deploying refcard</message>
<!-- The location where the site is uploaded -->
<outputDirectory>${slides.output}</outputDirectory>
<!-- Use merge or override the content -->
<merge>false</merge>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<slides.input>${project.basedir}/src/slides</slides.input>
<slides.output>${project.build.directory}/refcard</slides.output>
</properties>
</project>