add Qodana scan action
[yosql.git] / yosql-benchmarks / yosql-benchmarks-codegen / pom.xml
blob691c18dc14ad541a1b2c47af2bad3d6cc743b97d
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.benchmarks</groupId>
21         <artifactId>yosql-benchmarks</artifactId>
22         <version>0.0.0-SNAPSHOT</version>
23     </parent>
25     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
26     <!--                               COORDINATES                               -->
27     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28     <!-- https://maven.apache.org/pom.html#Maven_Coordinates -->
30     <artifactId>yosql-benchmarks-codegen</artifactId>
32     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
33     <!--                               INFORMATIONS                              -->
34     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
35     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
36     <name>YoSQL :: Benchmarks :: Codegen</name>
38     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
39     <!--                               DEPENDENCIES                              -->
40     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
41     <!-- https://maven.apache.org/pom.html#Dependencies -->
42     <dependencies>
43         <dependency>
44             <groupId>wtf.metio.yosql.codegen</groupId>
45             <artifactId>yosql-codegen</artifactId>
46             <version>${project.version}</version>
47         </dependency>
48         <dependency>
49             <groupId>wtf.metio.yosql.tooling</groupId>
50             <artifactId>yosql-tooling-dagger</artifactId>
51             <version>${project.version}</version>
52         </dependency>
53         <dependency>
54             <groupId>wtf.metio.yosql.internals</groupId>
55             <artifactId>yosql-internals-testing-configs</artifactId>
56             <version>${project.version}</version>
57         </dependency>
59         <dependency>
60             <groupId>org.openjdk.jmh</groupId>
61             <artifactId>jmh-core</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>org.openjdk.jmh</groupId>
65             <artifactId>jmh-generator-annprocess</artifactId>
66             <scope>provided</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.slf4j</groupId>
70             <artifactId>slf4j-simple</artifactId>
71         </dependency>
72     </dependencies>
74     <profiles>
75         <profile>
76             <id>benchmarks</id>
77             <build>
78                 <plugins>
79                     <plugin>
80                         <groupId>com.baidu.maven</groupId>
81                         <artifactId>jmh-maven-plugin</artifactId>
82                         <version>1.0.3</version>
83                         <executions>
84                             <execution>
85                                 <phase>verify</phase>
86                                 <goals>
87                                     <goal>jmh</goal>
88                                 </goals>
89                             </execution>
90                         </executions>
91                         <configuration>
92                             <forks>1</forks>
93                             <warmupForks>1</warmupForks>
94                             <threads>1</threads>
95                             <mode>avgt</mode>
96                             <timeUnit>s</timeUnit>
97                             <measurementTime>1s</measurementTime>
98                             <warmupTime>1s</warmupTime>
99                             <resultFormat>json</resultFormat>
100                             <resultFile>yosql-benchmarks-codegen.json</resultFile>
101                         </configuration>
102                     </plugin>
103                 </plugins>
104             </build>
105         </profile>
106     </profiles>
108 </project>