255 lines
10 KiB
XML
255 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2026 Kingsrook, LLC
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<properties>
|
|
<revision>0.5.0-SNAPSHOT</revision>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<jacoco.version>0.8.15</jacoco.version>
|
|
<!-- QQQ Core 4.1.0-RC.22 from the Gitea registry, imported through qqq-bom-pom. It includes the after-rollback callbacks Collaboration needs. -->
|
|
<qqq.version>4.1.0-RC.26</qqq.version>
|
|
<!-- Released Collaboration carrying the attachment lifecycle SPI. -->
|
|
<qbit-collaboration.version>1.2.0-RC.1</qbit-collaboration.version>
|
|
</properties>
|
|
|
|
<parent>
|
|
<groupId>com.kingsrook</groupId>
|
|
<artifactId>qbit-build-parent</artifactId>
|
|
<version>2.2.1</version>
|
|
</parent>
|
|
|
|
<groupId>com.kingsrook.qbits</groupId>
|
|
<artifactId>qbit-record-files</artifactId>
|
|
<!-- Release candidate, not 1.0: see docs/TODO.md for the production 1.0 gates. -->
|
|
<version>${revision}</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>QBit Record Files</name>
|
|
<description>QQQ QBit: retained, ordered, reviewed and audited files for records, built on the standard collaboration attachment path</description>
|
|
<url>https://github.com/QRun-IO/qbit-record-files</url>
|
|
|
|
<scm>
|
|
<connection>scm:git:git://github.com/QRun-IO/qbit-record-files.git</connection>
|
|
<developerConnection>scm:git:ssh://github.com:QRun-IO/qbit-record-files.git</developerConnection>
|
|
<url>https://github.com/QRun-IO/qbit-record-files</url>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>kingsrook</id>
|
|
<name>Kingsrook Team</name>
|
|
<email>contact@kingsrook.com</email>
|
|
<organization>Kingsrook, LLC</organization>
|
|
<organizationUrl>https://kingsrook.com</organizationUrl>
|
|
</developer>
|
|
</developers>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.kingsrook.qqq</groupId>
|
|
<artifactId>qqq-backend-core</artifactId>
|
|
</dependency>
|
|
<!-- standard attachment path and the attachment lifecycle SPI; collaboration never depends on this qbit -->
|
|
<dependency>
|
|
<groupId>com.kingsrook.qbits</groupId>
|
|
<artifactId>qbit-collaboration</artifactId>
|
|
<version>${qbit-collaboration.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.kingsrook.qqq</groupId>
|
|
<artifactId>qqq-backend-module-rdbms</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>2.4.240</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<version>3.27.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>testcontainers-mysql</artifactId>
|
|
<version>2.0.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- PostgreSQL 17 qualification fixtures: the native QQQ postgres module (vendor/type "postgres") and its driver -->
|
|
<dependency>
|
|
<groupId>com.kingsrook.qqq</groupId>
|
|
<artifactId>qqq-backend-module-postgres</artifactId>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion><groupId>com.kingsrook.qqq</groupId><artifactId>qqq-backend-module-rdbms</artifactId></exclusion>
|
|
<exclusion><groupId>com.kingsrook.qqq</groupId><artifactId>qqq-backend-core</artifactId></exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.7.8</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
|
|
<!-- the artifact version is read by the producer (QBit metadata provenance) -->
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>qbit-record-files.properties</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
<excludes>
|
|
<exclude>qbit-record-files.properties</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-resources-plugin</artifactId><version>3.3.1</version>
|
|
<executions><execution><id>package-license-notices</id><phase>process-resources</phase><goals><goal>copy-resources</goal></goals>
|
|
<configuration><outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory><resources><resource>
|
|
<directory>${project.basedir}</directory><filtering>false</filtering><includes><include>LICENSE</include><include>NOTICE</include></includes>
|
|
</resource></resources></configuration>
|
|
</execution></executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.4.1</version>
|
|
<executions>
|
|
<execution><id>public-integration-fixtures</id><goals><goal>test-jar</goal></goals></execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>3.3.1</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
<artifactId>checkstyle</artifactId>
|
|
<version>10.12.6</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<configuration>
|
|
<configLocation>checkstyle/config.xml</configLocation>
|
|
<headerLocation>checkstyle/license.txt</headerLocation><propertyExpansion>checkstyle.header.file=${project.basedir}/checkstyle/license.txt</propertyExpansion>
|
|
<encoding>UTF-8</encoding>
|
|
<consoleOutput>true</consoleOutput>
|
|
<failsOnError>false</failsOnError>
|
|
<failOnViolation>true</failOnViolation>
|
|
<violationSeverity>warning</violationSeverity>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>validate</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- Coverage is reported but not gated yet: no baseline has been measured (see docs/TODO.md). -->
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>prepare-agent</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>report</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- Publish a self-contained POM: ${revision}/property versions are resolved at build time, so a consumer needs no -Drevision -->
|
|
<groupId>org.codehaus.mojo</groupId><artifactId>flatten-maven-plugin</artifactId><version>1.7.3</version>
|
|
<configuration><updatePomFile>true</updatePomFile><flattenMode>ossrh</flattenMode></configuration>
|
|
<executions>
|
|
<execution><id>flatten</id><phase>process-resources</phase><goals><goal>flatten</goal></goals></execution>
|
|
<execution><id>flatten.clean</id><phase>clean</phase><goals><goal>clean</goal></goals></execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<!-- Same as qbit-collaboration: until qbit-build-parent imports the released 4.1 BOM, this profile is active -->
|
|
<!-- by default and imports qqq-bom-pom ahead of the parent's 4.0.0 BOM. It pins core, RDBMS and PostgreSQL. -->
|
|
<profile>
|
|
<id>qqq-snapshot</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<qqq.snapshot.version>4.1.0-RC.26</qqq.snapshot.version>
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.kingsrook.qqq</groupId>
|
|
<artifactId>qqq-bom-pom</artifactId>
|
|
<version>${qqq.snapshot.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|