improve benchmarks
[yosql.git] / yosql-examples / yosql-examples-maven / pom.xml
blobddebe69737be9731b776e9dcabd7a887ffb05324
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.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-java4</module>
46         <module>yosql-examples-maven-jdbc-java5</module>
47         <module>yosql-examples-maven-jdbc-java7</module>
48         <module>yosql-examples-maven-jdbc-java8</module>
49         <module>yosql-examples-maven-jdbc-java9</module>
50         <module>yosql-examples-maven-jdbc-java11</module>
51         <module>yosql-examples-maven-jdbc-java14</module>
52         <module>yosql-examples-maven-jdbc-java16</module>
53     </modules>
55     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
56     <!--                               DEPENDENCIES                              -->
57     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
58     <!-- https://maven.apache.org/pom.html#Dependencies -->
59     <dependencies>
60         <dependency>
61             <groupId>com.zaxxer</groupId>
62             <artifactId>HikariCP</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>com.h2database</groupId>
66             <artifactId>h2</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>io.reactivex.rxjava2</groupId>
70             <artifactId>rxjava</artifactId>
71             <version>2.2.21</version>
72         </dependency>
73     </dependencies>
75     <build>
76         <pluginManagement>
77             <plugins>
78                 <plugin>
79                     <groupId>wtf.metio.yosql.tooling</groupId>
80                     <artifactId>yosql-tooling-maven</artifactId>
81                     <version>${project.version}</version>
82                     <executions>
83                         <execution>
84                             <phase>generate-sources</phase>
85                             <goals>
86                                 <goal>generate</goal>
87                             </goals>
88                         </execution>
89                     </executions>
90                 </plugin>
91             </plugins>
92         </pluginManagement>
93         <plugins>
94             <plugin>
95                 <groupId>org.codehaus.mojo</groupId>
96                 <artifactId>build-helper-maven-plugin</artifactId>
97                 <version>3.2.0</version>
98                 <executions>
99                     <execution>
100                         <id>add-source</id>
101                         <phase>generate-sources</phase>
102                         <goals>
103                             <goal>add-source</goal>
104                         </goals>
105                         <configuration>
106                             <sources>
107                                 <source>${project.build.directory}/generated-sources/yosql</source>
108                             </sources>
109                         </configuration>
110                     </execution>
111                 </executions>
112             </plugin>
113         </plugins>
114     </build>
116 </project>