throw GradleException
[yosql.git] / yosql-verification / yosql-verification-yeps / pom.xml
blob725e0664730aa46a587a07dc0edd3ff636dde4ab
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.verification</groupId>
21         <artifactId>yosql-verification</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-verification-yeps</artifactId>
31     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
32     <!--                               INFORMATIONS                              -->
33     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
35     <name>YoSQL :: Verification :: YEPs</name>
36     <description>YoSQL Enhance Proposals (YEPs) describe the overall user experience when working with YoSQL</description>
38     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
39     <!--                               DEPENDENCIES                              -->
40     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
41     <!-- https://maven.apache.org/pom.html#Dependencies -->
42     <dependencies>
43         <dependency>
44             <groupId>wtf.metio.yosql.models</groupId>
45             <artifactId>yosql-models-immutables</artifactId>
46             <version>${project.version}</version>
47             <scope>test</scope>
48         </dependency>
49         <dependency>
50             <groupId>io.cucumber</groupId>
51             <artifactId>cucumber-java</artifactId>
52             <scope>test</scope>
53             <exclusions>
54                 <exclusion>
55                     <groupId>org.apiguardian</groupId>
56                     <artifactId>apiguardian-api</artifactId>
57                 </exclusion>
58             </exclusions>
59         </dependency>
60         <dependency>
61             <groupId>io.cucumber</groupId>
62             <artifactId>cucumber-picocontainer</artifactId>
63             <scope>test</scope>
64         </dependency>
65         <dependency>
66             <groupId>com.zaxxer</groupId>
67             <artifactId>HikariCP</artifactId>
68             <scope>test</scope>
69         </dependency>
70         <dependency>
71             <groupId>org.junit.jupiter</groupId>
72             <artifactId>junit-jupiter-engine</artifactId>
73             <scope>test</scope>
74         </dependency>
75         <dependency>
76             <groupId>io.cucumber</groupId>
77             <artifactId>cucumber-junit-platform-engine</artifactId>
78             <scope>test</scope>
79         </dependency>
80     </dependencies>
82     <build>
83         <plugins>
84             <plugin>
85                 <groupId>wtf.metio.yosql.tooling</groupId>
86                 <artifactId>yosql-tooling-maven</artifactId>
87                 <version>${project.version}</version>
88                 <configuration>
89                     <files>
90                         <inputBaseDirectory>src/test/yosql/ALL</inputBaseDirectory>
91                         <outputBaseDirectory>target/generated-test-sources/yosql</outputBaseDirectory>
92                         <skipLines>6</skipLines>
93                     </files>
94                 </configuration>
95                 <executions>
96                     <execution>
97                         <phase>generate-sources</phase>
98                         <goals>
99                             <goal>generate</goal>
100                         </goals>
101                     </execution>
102                 </executions>
103             </plugin>
104             <plugin>
105                 <groupId>org.codehaus.mojo</groupId>
106                 <artifactId>build-helper-maven-plugin</artifactId>
107                 <version>3.3.0</version>
108                 <executions>
109                     <execution>
110                         <id>add-source</id>
111                         <phase>generate-sources</phase>
112                         <goals>
113                             <goal>add-source</goal>
114                         </goals>
115                         <configuration>
116                             <sources>
117                                 <source>${project.build.directory}/generated-test-sources/yosql</source>
118                             </sources>
119                         </configuration>
120                     </execution>
121                 </executions>
122             </plugin>
123         </plugins>
124     </build>
126 </project>