Skip to content

Commit 09e325a

Browse files
authored
Stop shading dependencies in neo4j-java-driver package (#1222)
`neo4j-java-driver` package no longer includes shaded dependencies. The new `neo4j-java-driver-all` package includes shaded Netty and Project Reactor dependencies.
1 parent ef5fa10 commit 09e325a

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

bundle/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
Aggregator project for building the single JAR with shaded dependencies.
22

3-
This module aggregates the slim version, unpacks it and repackages it.
4-
The sources are unpacked so that an individual JavaDoc artifact is produced, too.
3+
This module aggregates neo4j-java-driver, unpacks it and repackages it. The sources are unpacked so that an individual JavaDoc artifact is produced, too.

bundle/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<relativePath>..</relativePath>
1111
</parent>
1212

13-
<artifactId>neo4j-java-driver</artifactId>
13+
<artifactId>neo4j-java-driver-all</artifactId>
1414

1515
<packaging>jar</packaging>
16-
<name>Neo4j Java Driver</name>
16+
<name>Neo4j Java Driver (shaded package)</name>
1717
<description>Access to the Neo4j graph database through Java</description>
1818

1919
<properties>
@@ -26,7 +26,7 @@
2626
<!-- The original driver that will be repackaged. -->
2727
<dependency>
2828
<groupId>org.neo4j.driver</groupId>
29-
<artifactId>neo4j-java-driver-slim</artifactId>
29+
<artifactId>neo4j-java-driver</artifactId>
3030
<version>${project.version}</version>
3131
<optional>true</optional>
3232
</dependency>
@@ -68,7 +68,7 @@
6868
<goal>copy-resources</goal>
6969
</goals>
7070
<configuration>
71-
<outputDirectory>${project.build.directory}/generated-sources/slim</outputDirectory>
71+
<outputDirectory>${project.build.directory}/generated-sources/neo4j-java-driver</outputDirectory>
7272
<overwrite>true</overwrite>
7373
<resources>
7474
<resource>
@@ -93,7 +93,7 @@
9393
</goals>
9494
<configuration>
9595
<sources>
96-
<source>${project.build.directory}/generated-sources/slim</source>
96+
<source>${project.build.directory}/generated-sources/neo4j-java-driver</source>
9797
</sources>
9898
</configuration>
9999
</execution>

driver/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<version>5.0-SNAPSHOT</version>
1010
</parent>
1111

12-
<artifactId>neo4j-java-driver-slim</artifactId>
12+
<artifactId>neo4j-java-driver</artifactId>
1313

1414
<packaging>jar</packaging>
15-
<name>Neo4j Java Driver (Slim package)</name>
15+
<name>Neo4j Java Driver</name>
1616
<description>Access to the Neo4j graph database through Java</description>
1717

1818
<properties>

examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<!-- Test dependencies -->
4040
<dependency>
4141
<groupId>org.neo4j.driver</groupId>
42-
<artifactId>neo4j-java-driver-slim</artifactId>
42+
<artifactId>neo4j-java-driver</artifactId>
4343
<version>${project.version}</version>
4444
<type>test-jar</type>
4545
<scope>test</scope>

testkit-backend/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependencies>
2323
<dependency>
2424
<groupId>org.neo4j.driver</groupId>
25-
<artifactId>neo4j-java-driver-slim</artifactId>
25+
<artifactId>neo4j-java-driver</artifactId>
2626
<version>${project.version}</version>
2727
</dependency>
2828
<dependency>

0 commit comments

Comments
 (0)