covia-sql
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>ai.covia</groupId>
<artifactId>covia-sql</artifactId>
<version>0.9.8</version>
</dependency><project xmlns="https://maven.apache.org/POM/4.0.0"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>ai.covia</groupId>
<artifactId>covia</artifactId>
<version>0.9.8</version>
</parent>
<artifactId>covia-sql</artifactId>
<name>Covia SQL Module</name>
<description>SQL adapter for Covia venues — query/execute over lattice-backed convex-db databases and operator-registered JDBC connections. Packaged as a loadable venue module (the shaded -module.jar), not part of covia.jar.</description>
<dependencies>
<!-- The venue SPI — provided by the loading venue, never bundled -->
<dependency>
<groupId>ai.covia</groupId>
<artifactId>venue</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<!-- convex-db (JDBC driver + Calcite). convex-core and convex-peer are
excluded: the venue provides both (cell-type identity must be shared),
and their transitive BouncyCastle, Netty and ANTLR would otherwise be
shaded into the module jar; the module classloader falls back to the
venue's copies. -->
<dependency>
<groupId>world.convex</groupId>
<artifactId>convex-db</artifactId>
<version>${convex.version}</version>
<exclusions>
<exclusion>
<groupId>world.convex</groupId>
<artifactId>convex-core</artifactId>
</exclusion>
<exclusion>
<groupId>world.convex</groupId>
<artifactId>convex-peer</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Testing -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.5.6</version>
<configuration>
<systemPropertyVariables>
<covia.module.jar>${project.build.directory}/${project.build.finalName}-module.jar</covia.module.jar>
<covia.venue.jar>${project.parent.basedir}/venue/target/covia.jar</covia.venue.jar>
<covia.test.classes>${project.build.testOutputDirectory}</covia.test.classes>
</systemPropertyVariables>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- The loadable module jar: covia-sql + convex-db + Calcite,
written to target/ as -module.jar. The plain jar remains
the Maven artifact. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<!-- The fat module jar is a GitHub Releases artifact, not a Maven Central
one: shade writes it under the -module name but does not attach it, so
`mvn deploy` publishes only this module's slim jar, with its real POM
(no dependency-reduced POM, which would strip the shaded dependencies
from the published artifact). -->
<outputFile>${project.build.directory}/${project.build.finalName}-module.jar</outputFile>
<createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<excludes>
<!-- Host API and Convex cell/runtime identity are parent-first. -->
<exclude>ai.covia:venue</exclude>
<exclude>ai.covia:covia-core</exclude>
<exclude>world.convex:convex-core</exclude>
<exclude>world.convex:convex-peer</exclude>
<exclude>world.convex:convex-dlfs</exclude>
<exclude>world.convex:convex-java</exclude>
<exclude>world.convex:convex-restapi</exclude>
<!-- Logging resolves parent-first from the venue -->
<exclude>org.slf4j:*</exclude>
<exclude>ch.qos.logback:*</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>module-info.class</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>