1 <?xml version="1.0" encoding="UTF-8"?>
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
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 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
17 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
18 <!-- https://maven.apache.org/pom.html#Inheritance -->
20 <groupId>wtf.metio.yosql.tooling</groupId>
21 <artifactId>yosql-tooling</artifactId>
22 <version>0.0.0-SNAPSHOT</version>
25 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
27 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
28 <!-- https://maven.apache.org/pom.html#Maven_Coordinates -->
29 <artifactId>yosql-tooling-cli</artifactId>
31 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
33 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34 <!-- https://maven.apache.org/pom.html#More_Project_Information -->
35 <name>YoSQL :: Tooling :: CLI</name>
37 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
39 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
40 <!-- https://maven.apache.org/pom.html#Properties -->
42 <skipNativeBuild>true</skipNativeBuild>
43 <yosql.mainClass>wtf.metio.yosql.tooling.cli.YoSQL</yosql.mainClass>
46 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
48 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
49 <!-- https://maven.apache.org/pom.html#Dependencies -->
52 <groupId>wtf.metio.yosql.tooling</groupId>
53 <artifactId>yosql-tooling-dagger</artifactId>
54 <version>${project.version}</version>
57 <groupId>ch.qos.cal10n</groupId>
58 <artifactId>cal10n-api</artifactId>
61 <groupId>org.slf4j</groupId>
62 <artifactId>slf4j-ext</artifactId>
65 <groupId>org.slf4j</groupId>
66 <artifactId>slf4j-api</artifactId>
69 <groupId>info.picocli</groupId>
70 <artifactId>picocli</artifactId>
73 <groupId>org.jspecify</groupId>
74 <artifactId>jspecify</artifactId>
77 <groupId>org.graalvm.sdk</groupId>
78 <artifactId>graal-sdk</artifactId>
79 <scope>provided</scope>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
89 <annotationProcessorPaths>
91 <groupId>info.picocli</groupId>
92 <artifactId>picocli-codegen</artifactId>
93 <version>4.6.3</version>
95 </annotationProcessorPaths>
97 <arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
99 <source>${version.jdk}</source>
100 <target>${version.jdk}</target>
101 <release>${version.jdk}</release>
105 <groupId>org.codehaus.mojo</groupId>
106 <artifactId>templating-maven-plugin</artifactId>
111 <goal>filter-sources</goal>
117 <groupId>wtf.metio.yosql.models</groupId>
118 <artifactId>yosql-models-generator</artifactId>
119 <version>${project.version}</version>
123 <goal>generate</goal>
125 <phase>generate-sources</phase>
133 <groupId>org.codehaus.mojo</groupId>
134 <artifactId>build-helper-maven-plugin</artifactId>
137 <id>add-yosql-source</id>
138 <phase>generate-sources</phase>
140 <goal>add-source</goal>
144 <source>${project.build.directory}/generated-sources/yosql</source>
151 <groupId>org.graalvm.buildtools</groupId>
152 <artifactId>native-maven-plugin</artifactId>
153 <extensions>true</extensions>
156 <id>build-native</id>
160 <phase>package</phase>
164 <imageName>yosql</imageName>
165 <mainClass>${yosql.mainClass}</mainClass>
167 <buildArg>--no-fallback</buildArg>
169 <skipNativeBuild>${skipNativeBuild}</skipNativeBuild>
173 <groupId>org.codehaus.mojo</groupId>
174 <artifactId>appassembler-maven-plugin</artifactId>
177 <phase>package</phase>
179 <goal>assemble</goal>
184 <licenseHeaderFile>${project.basedir}/src/assembly/licenseHeaderFile</licenseHeaderFile>
185 <repositoryName>lib</repositoryName>
186 <repositoryLayout>flat</repositoryLayout>
189 <mainClass>${yosql.mainClass}</mainClass>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-assembly-plugin</artifactId>
200 <id>jvm-assembly</id>
201 <phase>package</phase>
207 <descriptor>${project.basedir}/src/assembly/jvm.xml</descriptor>
214 <groupId>net.nicoulaj.maven.plugins</groupId>
215 <artifactId>checksum-maven-plugin</artifactId>
219 <goal>artifacts</goal>
225 <algorithm>SHA-256</algorithm>
226 <algorithm>SHA-512</algorithm>
235 <id>native-linux</id>
238 <name>skipNativeBuild</name>
242 <family>unix</family>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-assembly-plugin</artifactId>
252 <id>native-assembly</id>
253 <phase>package</phase>
259 <descriptor>src/assembly/linux.xml</descriptor>
272 <name>skipNativeBuild</name>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-assembly-plugin</artifactId>
286 <id>native-assembly</id>
287 <phase>package</phase>
293 <descriptor>src/assembly/mac.xml</descriptor>
303 <id>native-windows</id>
306 <name>skipNativeBuild</name>
310 <family>windows</family>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-assembly-plugin</artifactId>
320 <id>native-assembly</id>
321 <phase>package</phase>
327 <descriptor>src/assembly/windows.xml</descriptor>