update workflow actions
[yosql.git] / yosql-examples / yosql-examples-maven / pom.xml
blobc291a3fdaf60d8cb25d3d425ed2155c1ac8b9b7e
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.examples</groupId>
21         <artifactId>yosql-examples</artifactId>
22         <version>0.0.0-SNAPSHOT</version>
23     </parent>
25     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26     <!--                               COORDINATES                               -->
27     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28     <!-- https://maven.apache.org/pom.html#Maven_Coordinates -->
30     <groupId>wtf.metio.yosql.examples.maven</groupId>
31     <artifactId>yosql-examples-maven</artifactId>
32     <packaging>pom</packaging>
34     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
35     <!--                               INFORMATIONS                              -->
36     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
37     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
38     <name>YoSQL :: Examples :: Maven</name>
40     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
41     <!--                                  MODULES                                -->
42     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
43     <!-- https://maven.apache.org/pom.html#Aggregation -->
44     <modules>
45         <module>yosql-examples-maven-jdbc-java8</module>
46         <module>yosql-examples-maven-jdbc-java9</module>
47         <module>yosql-examples-maven-jdbc-java11</module>
48         <module>yosql-examples-maven-jdbc-java15</module>
49         <module>yosql-examples-maven-jdbc-java16</module>
50     </modules>
52     <build>
53         <pluginManagement>
54             <plugins>
55                 <plugin>
56                     <groupId>wtf.metio.yosql.tooling</groupId>
57                     <artifactId>yosql-tooling-maven</artifactId>
58                     <version>${project.version}</version>
59                     <executions>
60                         <execution>
61                             <phase>generate-sources</phase>
62                             <goals>
63                                 <goal>generate</goal>
64                             </goals>
65                         </execution>
66                     </executions>
67                 </plugin>
68             </plugins>
69         </pluginManagement>
70         <plugins>
71             <plugin>
72                 <groupId>org.codehaus.mojo</groupId>
73                 <artifactId>build-helper-maven-plugin</artifactId>
74                 <executions>
75                     <execution>
76                         <id>add-source</id>
77                         <phase>generate-sources</phase>
78                         <goals>
79                             <goal>add-source</goal>
80                         </goals>
81                         <configuration>
82                             <sources>
83                                 <source>${project.build.directory}/generated-sources/yosql</source>
84                             </sources>
85                         </configuration>
86                     </execution>
87                 </executions>
88             </plugin>
89         </plugins>
90     </build>
92 </project>