blaze-persistence-core-impl-jakarta
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.blazebit</groupId>
<artifactId>blaze-persistence-core-impl-jakarta</artifactId>
<version>1.6.20</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-License-Identifier: Apache-2.0
Copyright Blazebit
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.blazebit</groupId>
<artifactId>blaze-persistence-core</artifactId>
<version>1.6.20</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>blaze-persistence-core-impl-jakarta</artifactId>
<packaging>jar</packaging>
<name>Blazebit Persistence Core Impl Jakarta</name>
<properties>
<module.name>com.blazebit.persistence.core.impl</module.name>
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>blaze-persistence-core-impl</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>${version.jakarta-jpa-api}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>blaze-persistence-core-api-jakarta</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>blaze-persistence-core-parser-jakarta</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>blaze-common-utils</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>transform-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="plugin_classpath" refid="maven.plugin.classpath" />
<java classname="org.eclipse.transformer.cli.JakartaTransformerCLI" fork="true">
<!--suppress UnresolvedMavenProperty -->
<arg value="${com.blazebit:blaze-persistence-core-impl:jar}" />
<arg value="${project.build.directory}/${project.build.finalName}.jar" />
<arg value="-q" />
<arg value="-o" />
<arg value="-tr" />
<arg value="${project.basedir}/../../rules/jakarta-renames.properties" />
<classpath>
<!--suppress UnresolvedMavenProperty -->
<pathelement path="${plugin_classpath}" />
</classpath>
</java>
</target>
</configuration>
</execution>
<execution>
<id>transform-sources-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="plugin_classpath" refid="maven.plugin.classpath" />
<!--suppress UnresolvedMavenProperty -->
<ac:propertyregex xmlns:ac="antlib:net.sf.antcontrib" property="source" input="${com.blazebit:blaze-persistence-core-impl:jar}" regexp="\.jar$" replace="-sources.jar" global="true" />
<java classname="org.eclipse.transformer.cli.JakartaTransformerCLI" fork="true">
<!--suppress UnresolvedMavenProperty -->
<arg value="${source}" />
<arg value="${project.build.directory}/${project.build.finalName}-sources.jar" />
<arg value="-q" />
<arg value="-o" />
<arg value="-tr" />
<arg value="${project.basedir}/../../rules/jakarta-renames.properties" />
<classpath>
<!--suppress UnresolvedMavenProperty -->
<pathelement path="${plugin_classpath}" />
</classpath>
</java>
</target>
</configuration>
</execution>
<execution>
<id>transform-javadoc</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<property name="plugin_classpath" refid="maven.plugin.classpath" />
<!--suppress UnresolvedMavenProperty -->
<ac:propertyregex xmlns:ac="antlib:net.sf.antcontrib" property="source" input="${com.blazebit:blaze-persistence-core-impl:jar}" regexp="\.jar$" replace="-javadoc.jar" global="true" />
<java classname="org.eclipse.transformer.cli.JakartaTransformerCLI" fork="true">
<!--suppress UnresolvedMavenProperty -->
<arg value="${source}" />
<arg value="${project.build.directory}/${project.build.finalName}-javadoc.jar" />
<arg value="-q" />
<arg value="-o" />
<arg value="-tr" />
<arg value="${project.basedir}/../../rules/jakarta-renames.properties" />
<classpath>
<!--suppress UnresolvedMavenProperty -->
<pathelement path="${plugin_classpath}" />
</classpath>
</java>
</target>
</configuration>
</execution>
<!-- Unpack JAR because Quarkus relies on the directory contents for class loading -->
<execution>
<id>unpack-classes</id>
<phase>package</phase>
<configuration>
<target>
<unzip src="${project.build.directory}/${project.build.finalName}.jar" dest="${project.build.directory}/classes/" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.eclipse.transformer</groupId>
<artifactId>org.eclipse.transformer.cli</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>ant-contrib</groupId>
<artifactId>ant-contrib</artifactId>
<version>1.0b3</version>
<exclusions>
<exclusion>
<groupId>ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>biz.aQute.bnd</groupId>
<artifactId>biz.aQute.bnd.transform</artifactId>
<version>${version.bnd}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
<executions>
<execution>
<id>add-module-infos</id>
<phase>package</phase>
<goals>
<goal>add-module-info</goal>
</goals>
<configuration>
<module>
<moduleInfoSource>
module ${module.name} {
requires java.sql;
requires jakarta.persistence;
requires com.blazebit.common.utils;
requires com.blazebit.persistence.core;
requires com.blazebit.persistence.core.parser;
exports com.blazebit.persistence.impl;
exports com.blazebit.persistence.impl.builder.expression;
exports com.blazebit.persistence.impl.builder.object;
exports com.blazebit.persistence.impl.builder.predicate;
exports com.blazebit.persistence.impl.dialect;
exports com.blazebit.persistence.impl.function;
exports com.blazebit.persistence.impl.function.alias;
exports com.blazebit.persistence.impl.function.base64;
exports com.blazebit.persistence.impl.function.cast;
exports com.blazebit.persistence.impl.function.chr;
exports com.blazebit.persistence.impl.function.colldml;
exports com.blazebit.persistence.impl.function.coltrunc;
exports com.blazebit.persistence.impl.function.concat;
exports com.blazebit.persistence.impl.function.count;
exports com.blazebit.persistence.impl.function.countwrapper;
exports com.blazebit.persistence.impl.function.dateadd;
exports com.blazebit.persistence.impl.function.dateadd.day;
exports com.blazebit.persistence.impl.function.dateadd.hour;
exports com.blazebit.persistence.impl.function.dateadd.microseconds;
exports com.blazebit.persistence.impl.function.dateadd.milliseconds;
exports com.blazebit.persistence.impl.function.dateadd.minute;
exports com.blazebit.persistence.impl.function.dateadd.month;
exports com.blazebit.persistence.impl.function.dateadd.quarter;
exports com.blazebit.persistence.impl.function.dateadd.second;
exports com.blazebit.persistence.impl.function.dateadd.week;
exports com.blazebit.persistence.impl.function.dateadd.year;
exports com.blazebit.persistence.impl.function.datediff;
exports com.blazebit.persistence.impl.function.datediff.day;
exports com.blazebit.persistence.impl.function.datediff.hour;
exports com.blazebit.persistence.impl.function.datediff.microsecond;
exports com.blazebit.persistence.impl.function.datediff.millisecond;
exports com.blazebit.persistence.impl.function.datediff.minute;
exports com.blazebit.persistence.impl.function.datediff.month;
exports com.blazebit.persistence.impl.function.datediff.quarter;
exports com.blazebit.persistence.impl.function.datediff.second;
exports com.blazebit.persistence.impl.function.datediff.week;
exports com.blazebit.persistence.impl.function.datediff.year;
exports com.blazebit.persistence.impl.function.datetime.day;
exports com.blazebit.persistence.impl.function.datetime.dayofweek;
exports com.blazebit.persistence.impl.function.datetime.dayofyear;
exports com.blazebit.persistence.impl.function.datetime.epoch;
exports com.blazebit.persistence.impl.function.datetime.epochday;
exports com.blazebit.persistence.impl.function.datetime.epochmicro;
exports com.blazebit.persistence.impl.function.datetime.epochmilli;
exports com.blazebit.persistence.impl.function.datetime.hour;
exports com.blazebit.persistence.impl.function.datetime.isodayofweek;
exports com.blazebit.persistence.impl.function.datetime.isoweek;
exports com.blazebit.persistence.impl.function.datetime.microsecond;
exports com.blazebit.persistence.impl.function.datetime.millisecond;
exports com.blazebit.persistence.impl.function.datetime.minute;
exports com.blazebit.persistence.impl.function.datetime.month;
exports com.blazebit.persistence.impl.function.datetime.quarter;
exports com.blazebit.persistence.impl.function.datetime.second;
exports com.blazebit.persistence.impl.function.datetime.week;
exports com.blazebit.persistence.impl.function.datetime.year;
exports com.blazebit.persistence.impl.function.datetime.yearofweek;
exports com.blazebit.persistence.impl.function.datetime.yearweek;
exports com.blazebit.persistence.impl.function.entity;
exports com.blazebit.persistence.impl.function.every;
exports com.blazebit.persistence.impl.function.exist;
exports com.blazebit.persistence.impl.function.greatest;
exports com.blazebit.persistence.impl.function.groupconcat;
exports com.blazebit.persistence.impl.function.grouping;
exports com.blazebit.persistence.impl.function.groupingsets;
exports com.blazebit.persistence.impl.function.jsonget;
exports com.blazebit.persistence.impl.function.jsonset;
exports com.blazebit.persistence.impl.function.least;
exports com.blazebit.persistence.impl.function.limit;
exports com.blazebit.persistence.impl.function.literal;
exports com.blazebit.persistence.impl.function.nullfn;
exports com.blazebit.persistence.impl.function.nullsubquery;
exports com.blazebit.persistence.impl.function.oragg;
exports com.blazebit.persistence.impl.function.pageposition;
exports com.blazebit.persistence.impl.function.param;
exports com.blazebit.persistence.impl.function.querywrapper;
exports com.blazebit.persistence.impl.function.repeat;
exports com.blazebit.persistence.impl.function.replace;
exports com.blazebit.persistence.impl.function.rowvalue;
exports com.blazebit.persistence.impl.function.set;
exports com.blazebit.persistence.impl.function.stringjsonagg;
exports com.blazebit.persistence.impl.function.stringxmlagg;
exports com.blazebit.persistence.impl.function.subquery;
exports com.blazebit.persistence.impl.function.tomultiset;
exports com.blazebit.persistence.impl.function.tostringjson;
exports com.blazebit.persistence.impl.function.tostringxml;
exports com.blazebit.persistence.impl.function.treat;
exports com.blazebit.persistence.impl.function.trunc;
exports com.blazebit.persistence.impl.function.trunc.day;
exports com.blazebit.persistence.impl.function.trunc.hour;
exports com.blazebit.persistence.impl.function.trunc.microseconds;
exports com.blazebit.persistence.impl.function.trunc.milliseconds;
exports com.blazebit.persistence.impl.function.trunc.minute;
exports com.blazebit.persistence.impl.function.trunc.month;
exports com.blazebit.persistence.impl.function.trunc.quarter;
exports com.blazebit.persistence.impl.function.trunc.second;
exports com.blazebit.persistence.impl.function.trunc.week;
exports com.blazebit.persistence.impl.function.trunc.year;
exports com.blazebit.persistence.impl.function.window;
exports com.blazebit.persistence.impl.function.window.avg;
exports com.blazebit.persistence.impl.function.window.count;
exports com.blazebit.persistence.impl.function.window.cumedist;
exports com.blazebit.persistence.impl.function.window.denserank;
exports com.blazebit.persistence.impl.function.window.every;
exports com.blazebit.persistence.impl.function.window.first;
exports com.blazebit.persistence.impl.function.window.groupconcat;
exports com.blazebit.persistence.impl.function.window.lag;
exports com.blazebit.persistence.impl.function.window.last;
exports com.blazebit.persistence.impl.function.window.lead;
exports com.blazebit.persistence.impl.function.window.max;
exports com.blazebit.persistence.impl.function.window.min;
exports com.blazebit.persistence.impl.function.window.nth;
exports com.blazebit.persistence.impl.function.window.ntile;
exports com.blazebit.persistence.impl.function.window.oragg;
exports com.blazebit.persistence.impl.function.window.percentrank;
exports com.blazebit.persistence.impl.function.window.rank;
exports com.blazebit.persistence.impl.function.window.row;
exports com.blazebit.persistence.impl.function.window.sum;
exports com.blazebit.persistence.impl.keyset;
exports com.blazebit.persistence.impl.plan;
exports com.blazebit.persistence.impl.query;
exports com.blazebit.persistence.impl.transform;
exports com.blazebit.persistence.impl.util;
opens com.blazebit.persistence.impl.function.entity to org.hibernate.orm.core, eclipselink;
uses com.blazebit.persistence.spi.EntityManagerFactoryIntegrator;
uses com.blazebit.persistence.spi.ExtendedQuerySupport;
uses com.blazebit.persistence.spi.CriteriaBuilderConfigurationContributor;
provides com.blazebit.persistence.spi.CriteriaBuilderConfigurationProvider with com.blazebit.persistence.impl.CriteriaBuilderConfigurationProviderImpl;
}
</moduleInfoSource>
</module>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-sources.jar</file>
<classifier>sources</classifier>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>blazebit-release</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-sources.jar</file>
<classifier>sources</classifier>
<type>jar</type>
</artifact>
<artifact>
<file>${project.build.directory}/${project.build.finalName}-javadoc.jar</file>
<classifier>javadoc</classifier>
<type>jar</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>