-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
90 lines (85 loc) · 4.97 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
<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>io.github.fisiu</groupId>
<artifactId>blog</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<finalName>blog</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>br.com.ingenieux</groupId>
<artifactId>jbake-maven-plugin</artifactId>
<version>0.0.6</version>
<executions>
<execution>
<id>default-generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Commit and push site to github pages, by default to gh-pages branch -->
<!-- https://github.com/github/maven-plugins -->
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.9</version>
<configuration>
<message>${commit.message}</message>
<!-- <message>Creating site for ${project.version}</message> -->
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
<!-- Provide repo name to upload, $(user,project).github.io -->
<repositoryName>fisiu.github.io</repositoryName>
<!-- Provide repo owner -->
<repositoryOwner>Fisiu</repositoryOwner>
<!-- If user repo used, set branch to master -->
<branch>refs/heads/master</branch>
<dryRun>false</dryRun>
<excludes>
<exclude>**/*.jsp</exclude>
<exclude>**/web.xml</exclude>
</excludes>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
<!-- Run mvn exec:exec to generate site and upload it with single step -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<executable>mvn</executable>
<arguments>
<argument>clean:clean</argument>
<argument>jbake:generate</argument>
<argument>site:site</argument>
<argument>clean:clean</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<github.global.server>github</github.global.server>
<commit.message>Site update</commit.message>
</properties>
</project>