auto generate configuration docs
[yosql.git] / yosql-models / yosql-models-ant / pom.xml
blob2a71ae9b3f46cf185d158eee3fd33ab2c129c6b3
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>
17     <modelVersion>4.0.0</modelVersion>
19     <artifactId>yosql-models-ant</artifactId>
21     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
22     <!--                               INFORMATIONS                              -->
23     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
24     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
25     <name>YoSQL :: Models :: Ant</name>
27     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28     <!--                               DEPENDENCIES                              -->
29     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
30     <!-- https://maven.apache.org/pom.html#Dependencies -->
31     <dependencies>
32         <dependency>
33             <groupId>wtf.metio.yosql.models</groupId>
34             <artifactId>yosql-models-immutables</artifactId>
35             <version>${project.version}</version>
36         </dependency>
37     </dependencies>
39     <build>
40         <plugins>
41             <plugin>
42                 <groupId>wtf.metio.yosql.models</groupId>
43                 <artifactId>yosql-models-generator</artifactId>
44                 <version>${project.version}</version>
45                 <executions>
46                     <execution>
47                         <goals>
48                             <goal>generate</goal>
49                         </goals>
50                         <phase>generate-sources</phase>
51                         <configuration>
52                             <type>ant</type>
53                         </configuration>
54                     </execution>
55                 </executions>
56             </plugin>
57             <plugin>
58                 <groupId>org.codehaus.mojo</groupId>
59                 <artifactId>build-helper-maven-plugin</artifactId>
60                 <version>3.2.0</version>
61                 <executions>
62                     <execution>
63                         <id>add-yosql-source</id>
64                         <phase>generate-sources</phase>
65                         <goals>
66                             <goal>add-source</goal>
67                         </goals>
68                         <configuration>
69                             <sources>
70                                 <source>${project.build.directory}/generated-sources/yosql</source>
71                             </sources>
72                         </configuration>
73                     </execution>
74                 </executions>
75             </plugin>
76         </plugins>
77     </build>
78 </project>