neo4j-jdbc-full-bundle
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-jdbc-full-bundle</artifactId>
<version>6.10.3</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>neo4j-jdbc-parent</artifactId>
<groupId>org.neo4j</groupId>
<version>6.10.3</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>neo4j-jdbc-full-bundle</artifactId>
<name>Neo4j JDBC Driver (Full Bundle)</name>
<description>Single jar package of the Neo4j JDBC Driver, including the default SQL to Cypher translator.</description>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-dep-free-module-info</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${maven.multiModuleProjectDirectory}/bin/remove-shaded-dependencies-from-module-info.sh</executable>
<arguments>
<argument>${project.basedir}/../../neo4j-jdbc/src/main/java/module-info.java</argument>
<argument>${project.build.directory}/jpms/module-info.java</argument>
<argument>full</argument>
</arguments>
<skip>false</skip>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<configuration>
<includeCompileScope>false</includeCompileScope>
</configuration>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<executions>
<execution>
<id>add-reachability-metadata</id>
<goals>
<goal>add-reachability-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>com.fasterxml.jackson.core:jackson-core</include>
<include>com.fasterxml.jackson.core:jackson-annotations</include>
<include>com.fasterxml.jackson.jr:*</include>
<include>io.github.cdimascio:dotenv-java</include>
<include>io.netty:*</include>
<include>io.r2dbc:*</include>
<include>org.jooq:*</include>
<include>org.neo4j.bolt:*</include>
<include>org.neo4j:neo4j-cypher-dsl</include>
<include>org.neo4j:neo4j-cypher-dsl-schema-name-support</include>
<include>org.neo4j:neo4j-jdbc-authn-spi:*</include>
<include>org.neo4j:neo4j-jdbc-translator-spi:*</include>
<include>org.neo4j:neo4j-jdbc-translator-impl:*</include>
<include>org.neo4j:neo4j-jdbc:*</include>
<include>org.reactivestreams:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.fasterxml.jackson.core</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.jackson.core</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.jackson.jr</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.jackson.jr</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/11/com.fasterxml.jackson.core</pattern>
<shadedPattern>META-INF/versions/11/org.neo4j.jdbc.internal.shaded.jackson.core</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/17/com.fasterxml.jackson.core</pattern>
<shadedPattern>META-INF/versions/17/org.neo4j.jdbc.internal.shaded.jackson.core</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/21/com.fasterxml.jackson.core</pattern>
<shadedPattern>META-INF/versions/21/org.neo4j.jdbc.internal.shaded.jackson.core</shadedPattern>
</relocation>
<relocation>
<pattern>META-INF/versions/22/com.fasterxml.jackson.core</pattern>
<shadedPattern>META-INF/versions/22/org.neo4j.jdbc.internal.shaded.jackson.core</shadedPattern>
</relocation>
<relocation>
<pattern>io.github.cdimascio.dotenv</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.dotenv</shadedPattern>
</relocation>
<relocation>
<pattern>io.netty</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.io.netty</shadedPattern>
</relocation>
<relocation>
<pattern>io.r2dbc</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.r2dbc</shadedPattern>
</relocation>
<relocation>
<pattern>org.jooq</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.jooq</shadedPattern>
</relocation>
<relocation>
<pattern>org.neo4j.bolt.connection</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.bolt</shadedPattern>
</relocation>
<relocation>
<pattern>org.neo4j.cypherdsl.core</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.cypherdsl</shadedPattern>
</relocation>
<relocation>
<pattern>org.neo4j.cypherdsl.support.schema_name</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.schema_name</shadedPattern>
</relocation>
<relocation>
<pattern>org.reactivestreams</pattern>
<shadedPattern>org.neo4j.jdbc.internal.shaded.reactivestreams</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer />
<transformer />
<transformer />
</transformers>
<filters>
<filter>
<artifact>com.fasterxml.jackson.*:*</artifact>
<excludes>
<exclude>META-INF/LICENSE</exclude>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/NOTICE</exclude>
<exclude>META-INF/**/module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>io.github.cdimascio:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>io.netty:*</artifact>
<excludes>
<exclude>META-INF/native-image/**</exclude>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/io.netty.versions.properties</exclude>
<exclude>services/reactor.blockhound.integration.BlockHoundIntegration</exclude>
<exclude>META-INF/**/module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>io.r2dbc:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>META-INF/NOTICE</exclude>
</excludes>
</filter>
<filter>
<artifact>org.jooq:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
<exclude>migrations/*</exclude>
</excludes>
</filter>
<filter>
<artifact>org.neo4j.bolt:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>org.neo4j:neo4j-cypher-dsl*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>org.neo4j:neo4j-jdbc-authn-spi</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>org.neo4j:neo4j-jdbc-translator-*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>org.neo4j:neo4j-jdbc</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>module-info.class</exclude>
</excludes>
</filter>
<filter>
<artifact>org.reactivestreams:*</artifact>
<excludes>
<exclude>META-INF/MANIFEST.MF</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</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>
<overwriteExistingFiles>true</overwriteExistingFiles>
<module>
<moduleInfoFile>${project.build.directory}/jpms/module-info.java</moduleInfoFile>
</module>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>attach</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>../../neo4j-jdbc/target/neo4j-jdbc-${project.version}-javadoc.jar</file>
<type>jar</type>
<classifier>javadoc</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<classpathDependencyExcludes>
<classpathDependencyExclude>${project.groupId}:neo4j-jdbc</classpathDependencyExclude>
<classpathDependencyExclude>${project.groupId}:neo4j-jdbc-translator-impl</classpathDependencyExclude>
</classpathDependencyExcludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>native-image</id>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>test-native</id>
<phase>verify</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.20.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>jackson-annotations</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.27.6</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>byte-buddy</artifactId>
<groupId>net.bytebuddy</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>6.0.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit-jupiter-api</artifactId>
<groupId>org.junit.jupiter</groupId>
</exclusion>
<exclusion>
<artifactId>junit-jupiter-params</artifactId>
<groupId>org.junit.jupiter</groupId>
</exclusion>
<exclusion>
<artifactId>junit-jupiter-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>6.0.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit-platform-engine</artifactId>
<groupId>org.junit.platform</groupId>
</exclusion>
<exclusion>
<artifactId>jspecify</artifactId>
<groupId>org.jspecify</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.17</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>2.0.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>testcontainers</artifactId>
<groupId>org.testcontainers</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-neo4j</artifactId>
<version>2.0.2</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>testcontainers</artifactId>
<groupId>org.testcontainers</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-jdbc-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<properties>
<sonar.coverage.jacoco.xmlReportPaths>${basedir}/../../${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>
</properties>
</project>