Bump dawidd6/action-send-mail from 3 to 4
[yosql.git] / yosql-examples / yosql-examples-maven / yosql-examples-maven-jdbc-java9 / pom.xml
blob42d0acdfcbec404a1cabfd5adee68904e87c331c
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.maven</groupId>
21         <artifactId>yosql-examples-maven</artifactId>
22         <version>0.0.0-SNAPSHOT</version>
23     </parent>
25     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26     <!--                               COORDINATES                               -->
27     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28     <!-- https://maven.apache.org/pom.html#Maven_Coordinates -->
29     <artifactId>yosql-examples-maven-jdbc-java9</artifactId>
31     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
32     <!--                               INFORMATIONS                              -->
33     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
35     <name>YoSQL :: Examples :: Maven :: JDBC/Java9</name>
37     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
38     <!--                               DEPENDENCIES                              -->
39     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
40     <!-- https://maven.apache.org/pom.html#Dependencies -->
41     <dependencies>
42         <dependency>
43             <groupId>wtf.metio.yosql.examples</groupId>
44             <artifactId>yosql-examples-common</artifactId>
45             <version>${project.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>com.h2database</groupId>
49             <artifactId>h2</artifactId>
50             <scope>runtime</scope>
51         </dependency>
52     </dependencies>
54     <build>
55         <plugins>
56             <plugin>
57                 <groupId>wtf.metio.yosql.tooling</groupId>
58                 <artifactId>yosql-tooling-maven</artifactId>
59                 <configuration>
60                     <files>
61                         <skipLines>6</skipLines>
62                         <inputBaseDirectory>../../yosql-examples-common/src/main/yosql</inputBaseDirectory>
63                     </files>
64                     <java>
65                         <apiVersion>9</apiVersion>
66                         <useVar>false</useVar>
67                         <useTextBlocks>false</useTextBlocks>
68                     </java>
69                     <repositories>
70                         <basePackageName>wtf.metio.yosql.example.maven.jdbc.java9.persistence</basePackageName>
71                         <generateInterfaces>false</generateInterfaces>
72                     </repositories>
73                     <converter>
74                         <mapConverterClass>
75                             wtf.metio.yosql.example.maven.jdbc.java9.persistence.converter.ToMapConverter
76                         </mapConverterClass>
77                         <rowConverters>
78                             <rowConverter>
79                                 <alias>itemConverter</alias>
80                                 <converterType>wtf.metio.yosql.example.maven.jdbc.java9.converter.ToItemConverter</converterType>
81                                 <methodName>asUserType</methodName>
82                                 <resultType>wtf.metio.yosql.example.maven.jdbc.java9.model.Item</resultType>
83                             </rowConverter>
84                         </rowConverters>
85                     </converter>
86                 </configuration>
87             </plugin>
88             <plugin>
89                 <groupId>org.codehaus.mojo</groupId>
90                 <artifactId>exec-maven-plugin</artifactId>
91                 <executions>
92                     <execution>
93                         <goals>
94                             <goal>java</goal>
95                         </goals>
96                         <phase>verify</phase>
97                     </execution>
98                 </executions>
99                 <configuration>
100                     <mainClass>wtf.metio.yosql.example.maven.jdbc.java9.ExampleApp</mainClass>
101                 </configuration>
102             </plugin>
103         </plugins>
104     </build>
106 </project>