This is an automated email from the ASF dual-hosted git repository. lhotari pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 23f1ef09156b3dc6dae33cdd50112ea1a2fc5cd9 Author: 萧易客 <[email protected]> AuthorDate: Sun Nov 17 02:45:12 2024 +0800 [fix][misc] Unable to connect an etcd metastore with recent releases due to jetc-core sharding problem (#23604) Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 89ccb7361b80dfb7897ea2555dfb6e884f62b916) --- distribution/server/pom.xml | 1 - jetcd-core-shaded/pom.xml | 49 +-------------------------------------------- pom.xml | 1 - pulsar-broker/pom.xml | 1 - pulsar-metadata/pom.xml | 1 - 5 files changed, 1 insertion(+), 52 deletions(-) diff --git a/distribution/server/pom.xml b/distribution/server/pom.xml index 78a53a69980..e27306710f5 100644 --- a/distribution/server/pom.xml +++ b/distribution/server/pom.xml @@ -50,7 +50,6 @@ <groupId>${project.groupId}</groupId> <artifactId>jetcd-core-shaded</artifactId> <version>${project.version}</version> - <classifier>shaded</classifier> </dependency> <dependency> diff --git a/jetcd-core-shaded/pom.xml b/jetcd-core-shaded/pom.xml index a3930117baf..0562a5e3c4d 100644 --- a/jetcd-core-shaded/pom.xml +++ b/jetcd-core-shaded/pom.xml @@ -74,6 +74,7 @@ </dependency> </dependencies> <build> + <finalName>${project.artifactId}-${project.version}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -141,54 +142,6 @@ <file>${project.basedir}/dependency-reduced-pom.xml</file> </transformer> </transformers> - <!-- required for IntelliJ support --> - <shadedArtifactAttached>true</shadedArtifactAttached> - <shadedClassifierName>shaded</shadedClassifierName> - </configuration> - </execution> - </executions> - </plugin> - <!-- required for IntelliJ support, for some reason shadedArtifactAttached isn't sufficient alone --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>attach-shaded-jar</id> - <phase>package</phase> - <goals> - <goal>attach-artifact</goal> - </goals> - <configuration> - <artifacts> - <artifact> - <file>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</file> - <type>jar</type> - <classifier>shaded</classifier> - </artifact> - </artifacts> - </configuration> - </execution> - </executions> - </plugin> - <!-- required for running tests in subproject --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>${maven-antrun-plugin.version}</version> - <executions> - <execution> - <id>unpack-shaded-jar</id> - <phase>package</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <target> - <unzip src="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar" - dest="${project.build.outputDirectory}" - overwrite="true" /> - </target> </configuration> </execution> </executions> diff --git a/pom.xml b/pom.xml index 44b4de3d59d..e6c5bd91547 100644 --- a/pom.xml +++ b/pom.xml @@ -1083,7 +1083,6 @@ flexible messaging model and an intuitive client API.</description> <groupId>${project.groupId}</groupId> <artifactId>jetcd-core-shaded</artifactId> <version>${project.version}</version> - <classifier>shaded</classifier> <exclusions> <exclusion> <groupId>io.etcd</groupId> diff --git a/pulsar-broker/pom.xml b/pulsar-broker/pom.xml index 0dd50dd97bf..aba18021c05 100644 --- a/pulsar-broker/pom.xml +++ b/pulsar-broker/pom.xml @@ -443,7 +443,6 @@ <groupId>${project.groupId}</groupId> <artifactId>jetcd-core-shaded</artifactId> <version>${project.version}</version> - <classifier>shaded</classifier> <scope>test</scope> </dependency> <dependency> diff --git a/pulsar-metadata/pom.xml b/pulsar-metadata/pom.xml index 5cd2a8168fd..1ffd3acd2e6 100644 --- a/pulsar-metadata/pom.xml +++ b/pulsar-metadata/pom.xml @@ -112,7 +112,6 @@ <groupId>${project.groupId}</groupId> <artifactId>jetcd-core-shaded</artifactId> <version>${project.version}</version> - <classifier>shaded</classifier> </dependency> <dependency> <groupId>io.grpc</groupId>
