Update parent to latest version
[yosql.git] / yosql-models / yosql-models-cli / pom.xml
blobb171d416d274b068da11b98d6638efd75a599d57
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   -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12     <parent>
13         <groupId>wtf.metio.yosql.models</groupId>
14         <artifactId>yosql-models</artifactId>
15         <version>0.0.0-SNAPSHOT</version>
16     </parent>
18     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yosql-models-cli</artifactId>
22     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
23     <!--                               INFORMATIONS                              -->
24     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
26     <name>YoSQL :: Models :: CLI</name>
28     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
29     <!--                               DEPENDENCIES                              -->
30     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
31     <!-- https://maven.apache.org/pom.html#Dependencies -->
32     <dependencies>
33         <dependency>
34             <groupId>wtf.metio.yosql.models</groupId>
35             <artifactId>yosql-models-meta</artifactId>
36             <version>${project.version}</version>
37         </dependency>
38         <dependency>
39             <groupId>wtf.metio.yosql.models</groupId>
40             <artifactId>yosql-models-immutables</artifactId>
41             <version>${project.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>info.picocli</groupId>
45             <artifactId>picocli</artifactId>
46         </dependency>
47     </dependencies>
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>wtf.metio.yosql.models</groupId>
53                 <artifactId>yosql-models-generator</artifactId>
54                 <version>${project.version}</version>
55                 <executions>
56                     <execution>
57                         <goals>
58                             <goal>generate</goal>
59                         </goals>
60                         <phase>generate-sources</phase>
61                         <configuration>
62                             <type>cli</type>
63                         </configuration>
64                     </execution>
65                 </executions>
66             </plugin>
67             <plugin>
68                 <groupId>org.codehaus.mojo</groupId>
69                 <artifactId>build-helper-maven-plugin</artifactId>
70                 <version>3.2.0</version>
71                 <executions>
72                     <execution>
73                         <id>add-yosql-source</id>
74                         <phase>generate-sources</phase>
75                         <goals>
76                             <goal>add-source</goal>
77                         </goals>
78                         <configuration>
79                             <sources>
80                                 <source>${project.build.directory}/generated-sources/yosql</source>
81                             </sources>
82                         </configuration>
83                     </execution>
84                 </executions>
85             </plugin>
86         </plugins>
87     </build>
88 </project>