Update parent to latest version
[yosql.git] / yosql-website / pom.xml
blob282dddd1e3580cdb254b179e29b8154377a7e8e1
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 http://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>
40     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
41     <!--                               DEPENDENCIES                              -->
42     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
43     <!-- https://maven.apache.org/pom.html#Dependencies -->
44     <dependencies>
45         <dependency>
46             <groupId>wtf.metio.yosql.models</groupId>
47             <artifactId>yosql-models-sql</artifactId>
48             <version>${project.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>wtf.metio.yosql.models</groupId>
52             <artifactId>yosql-models-immutables</artifactId>
53             <version>${project.version}</version>
54         </dependency>
55     </dependencies>
57     <build>
58         <plugins>
59             <plugin>
60                 <groupId>wtf.metio.yosql.models</groupId>
61                 <artifactId>yosql-models-generator</artifactId>
62                 <version>${project.version}</version>
63                 <executions>
64                     <execution>
65                         <goals>
66                             <goal>generate</goal>
67                         </goals>
68                         <phase>generate-sources</phase>
69                         <configuration>
70                             <type>website</type>
71                         </configuration>
72                     </execution>
73                 </executions>
74             </plugin>
75             <plugin>
76                 <groupId>org.apache.maven.plugins</groupId>
77                 <artifactId>maven-resources-plugin</artifactId>
78                 <version>3.2.0</version>
79                 <executions>
80                     <execution>
81                         <id>copy-resources</id>
82                         <phase>generate-sources</phase>
83                         <goals>
84                             <goal>copy-resources</goal>
85                         </goals>
86                         <configuration>
87                             <outputDirectory>${basedir}/content/configuration</outputDirectory>
88                             <resources>
89                                 <resource>
90                                     <directory>${basedir}/target/generated-sources/yosql</directory>
91                                     <filtering>false</filtering>
92                                 </resource>
93                             </resources>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
101 </project>