-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
145 lines (132 loc) · 5.04 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015 Scribble.org and/or its affiliates
and other contributors as indicated by the @author tags.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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.scribble</groupId>
<artifactId>website</artifactId>
<packaging>war</packaging>
<!-- Important a released version should always follow any of these patterns: -->
<!-- major.minor.micro.Alpha[n] -->
<!-- major.minor.micro.Beta[n] -->
<!-- major.minor.micro.CR[n] -->
<!-- major.minor.micro.Final -->
<version>1.0.0-SNAPSHOT</version>
<name>Scribble Project Website</name>
<description>Scribble Project Website (uses asciidoc@jBake)</description>
<url>http://scribble.github.io</url>
<inceptionYear>2015</inceptionYear>
<organization>
<name>Scribble</name>
<url>http://www.scribble.org/</url>
</organization>
<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>
</license>
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<github.global.server>github</github.global.server>
<asciidoctorj.version>1.5.2</asciidoctorj.version>
<jbake-maven-plugin.version>0.0.9</jbake-maven-plugin.version>
<site-maven-plugin.version>0.11</site-maven-plugin.version>
<jbake-core.version>2.3.2</jbake-core.version>
<freemarker.version>2.3.20</freemarker.version>
<pegdown.version>1.4.2</pegdown.version>
</properties>
<build>
<finalName>website</finalName>
<plugins>
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>${jbake-maven-plugin.version}</version>
<executions>
<execution>
<id>default-generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<!-- dependencies -->
<dependencies>
<!-- optional : a jbake version -->
<dependency>
<groupId>org.jbake</groupId>
<artifactId>jbake-core</artifactId>
<version>${jbake-core.version}</version>
</dependency>
<!-- for asciidoc templates (.adoc) -->
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
<version>${asciidoctorj.version}</version>
</dependency>
<!-- for freemarker templates (.ftl) -->
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
<!-- for markdown parsing (.md) -->
<dependency>
<groupId>org.pegdown</groupId>
<artifactId>pegdown</artifactId>
<version>${pegdown.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<!-- web.xml is not mandatory since JavaEE 5 -->
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>${site-maven-plugin.version}</version>
<configuration>
<message>Creating site for ${project.version}</message>
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
<repositoryName>scribble.github.io</repositoryName>
<repositoryOwner>scribble</repositoryOwner>
<branch>refs/heads/master</branch>
<noJekyll>true</noJekyll>
<excludes>
<exclude>**/*.jsp</exclude>
<exclude>**/web.xml</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>