install hugo during verify pipeline
[yosql.git] / yosql-website / pom.xml
blob52a39760e43c1d3be092e0afcf795b31177b3e9b
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
4   ~ directory of this distribution and at https://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
5   ~ including this file, may be copied, modified, propagated, or distributed except according to the terms contained
6   ~ in the LICENSE file.
7   -->
8 <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9          xmlns="http://maven.apache.org/POM/4.0.0"
10          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11     <modelVersion>4.0.0</modelVersion>
13     <!-- ordering follows https://maven.apache.org/developers/conventions/code.html#POM_Code_Convention -->
15     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
16     <!--                                 PARENT                                  -->
17     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
18     <!-- https://maven.apache.org/pom.html#Inheritance -->
19     <parent>
20         <groupId>wtf.metio.yosql</groupId>
21         <artifactId>yosql</artifactId>
22         <version>0.0.0-SNAPSHOT</version>
23     </parent>
25     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26     <!--                               COORDINATES                               -->
27     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28     <!-- https://maven.apache.org/pom.html#Maven_Coordinates -->
29     <groupId>wtf.metio.yosql.website</groupId>
30     <artifactId>yosql-website</artifactId>
31     <packaging>pom</packaging>
33     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34     <!--                               INFORMATIONS                              -->
35     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
36     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
37     <name>YoSQL :: Website</name>
39     <build>
40         <plugins>
41             <plugin>
42                 <groupId>wtf.metio.yosql.models</groupId>
43                 <artifactId>yosql-models-generator</artifactId>
44                 <version>${project.version}</version>
45                 <executions>
46                     <execution>
47                         <goals>
48                             <goal>generate</goal>
49                         </goals>
50                         <phase>generate-sources</phase>
51                         <configuration>
52                             <type>website</type>
53                         </configuration>
54                     </execution>
55                 </executions>
56             </plugin>
57             <plugin>
58                 <groupId>org.apache.maven.plugins</groupId>
59                 <artifactId>maven-resources-plugin</artifactId>
60                 <version>3.2.0</version>
61                 <executions>
62                     <execution>
63                         <id>copy-resources</id>
64                         <phase>generate-sources</phase>
65                         <goals>
66                             <goal>copy-resources</goal>
67                         </goals>
68                         <configuration>
69                             <outputDirectory>${basedir}/content/configuration</outputDirectory>
70                             <resources>
71                                 <resource>
72                                     <directory>${basedir}/target/generated-sources/yosql</directory>
73                                     <filtering>false</filtering>
74                                 </resource>
75                             </resources>
76                         </configuration>
77                     </execution>
78                 </executions>
79             </plugin>
80             <plugin>
81                 <groupId>org.apache.maven.plugins</groupId>
82                 <artifactId>maven-clean-plugin</artifactId>
83                 <version>3.2.0</version>
84                 <configuration>
85                     <excludeDefaultDirectories>true</excludeDefaultDirectories>
86                     <filesets>
87                         <fileset>
88                             <directory>${basedir}/content/configuration</directory>
89                             <followSymlinks>false</followSymlinks>
90                             <useDefaultExcludes>false</useDefaultExcludes>
91                             <includes>
92                                 <include>**/*.md</include>
93                             </includes>
94                             <excludes>
95                                 <exclude>_index.md</exclude>
96                             </excludes>
97                         </fileset>
98                     </filesets>
99                 </configuration>
100             </plugin>
101         </plugins>
102     </build>
104 </project>