add missing dot
[yosql.git] / yosql-models / yosql-models-immutables / pom.xml
blobb0388c6bccb6763318747ea97bc7784838f5b015
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-immutables</artifactId>
22     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
23     <!--                               INFORMATIONS                              -->
24     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25     <!-- https://maven.apache.org/pom.html#More_Project_Information -->
26     <name>YoSQL :: Models :: Immutables</name>
28     <dependencies>
29         <dependency>
30             <groupId>wtf.metio.yosql.internals</groupId>
31             <artifactId>yosql-internals-jdk-utils</artifactId>
32             <version>${project.version}</version>
33         </dependency>
34         <dependency>
35             <groupId>wtf.metio.yosql.models</groupId>
36             <artifactId>yosql-models-constants</artifactId>
37             <version>${project.version}</version>
38         </dependency>
39         <dependency>
40             <groupId>wtf.metio.yosql.models</groupId>
41             <artifactId>yosql-models-sql</artifactId>
42             <version>${project.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>com.squareup</groupId>
46             <artifactId>javapoet</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.immutables</groupId>
50             <artifactId>value</artifactId>
51             <scope>provided</scope>
52         </dependency>
53         <dependency>
54             <groupId>com.fasterxml.jackson.dataformat</groupId>
55             <artifactId>jackson-dataformat-yaml</artifactId>
56         </dependency>
57     </dependencies>
59     <build>
60         <plugins>
61             <plugin>
62                 <groupId>wtf.metio.yosql.models</groupId>
63                 <artifactId>yosql-models-generator</artifactId>
64                 <version>${project.version}</version>
65                 <executions>
66                     <execution>
67                         <goals>
68                             <goal>generate</goal>
69                         </goals>
70                         <phase>generate-sources</phase>
71                         <configuration>
72                             <type>immutables</type>
73                         </configuration>
74                     </execution>
75                 </executions>
76             </plugin>
77             <plugin>
78                 <groupId>org.apache.maven.plugins</groupId>
79                 <artifactId>maven-compiler-plugin</artifactId>
80                 <version>3.8.1</version>
81                 <configuration>
82                     <release>15</release>
83                 </configuration>
84                 <executions>
85                     <execution>
86                         <id>process-immutables-annotations</id>
87                         <goals>
88                             <goal>compile</goal>
89                         </goals>
90                         <phase>process-sources</phase>
91                         <configuration>
92                             <includes>
93                                 <include>${project.build.sourceDirectory/**/*.java</include>
94                                 <include>${project.build.directory}/generated-sources/yosql/**/*.java</include>
95                             </includes>
96                             <proc>only</proc>
97                         </configuration>
98                     </execution>
99                 </executions>
100             </plugin>
101             <plugin>
102                 <groupId>org.codehaus.mojo</groupId>
103                 <artifactId>build-helper-maven-plugin</artifactId>
104                 <version>3.2.0</version>
105                 <executions>
106                     <execution>
107                         <id>add-yosql-source</id>
108                         <phase>generate-sources</phase>
109                         <goals>
110                             <goal>add-source</goal>
111                         </goals>
112                         <configuration>
113                             <sources>
114                                 <source>${project.build.directory}/generated-sources/yosql</source>
115                             </sources>
116                         </configuration>
117                     </execution>
118                     <execution>
119                         <id>add-immutables-source</id>
120                         <phase>process-sources</phase>
121                         <goals>
122                             <goal>add-source</goal>
123                         </goals>
124                         <configuration>
125                             <sources>
126                                 <source>${project.build.directory}/generated-sources/annotations</source>
127                             </sources>
128                         </configuration>
129                     </execution>
130                 </executions>
131             </plugin>
132         </plugins>
133     </build>
134 </project>