Skip to content

Commit 89ccb73

Browse files
Shawyeoklhotari
andauthored
[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]>
1 parent 0b0eef9 commit 89ccb73

File tree

5 files changed

+1
-52
lines changed

5 files changed

+1
-52
lines changed

distribution/server/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
<groupId>${project.groupId}</groupId>
5050
<artifactId>jetcd-core-shaded</artifactId>
5151
<version>${project.version}</version>
52-
<classifier>shaded</classifier>
5352
</dependency>
5453

5554
<dependency>

jetcd-core-shaded/pom.xml

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
</dependency>
7575
</dependencies>
7676
<build>
77+
<finalName>${project.artifactId}-${project.version}</finalName>
7778
<plugins>
7879
<plugin>
7980
<groupId>org.apache.maven.plugins</groupId>
@@ -141,54 +142,6 @@
141142
<file>${project.basedir}/dependency-reduced-pom.xml</file>
142143
</transformer>
143144
</transformers>
144-
<!-- required for IntelliJ support -->
145-
<shadedArtifactAttached>true</shadedArtifactAttached>
146-
<shadedClassifierName>shaded</shadedClassifierName>
147-
</configuration>
148-
</execution>
149-
</executions>
150-
</plugin>
151-
<!-- required for IntelliJ support, for some reason shadedArtifactAttached isn't sufficient alone -->
152-
<plugin>
153-
<groupId>org.codehaus.mojo</groupId>
154-
<artifactId>build-helper-maven-plugin</artifactId>
155-
<executions>
156-
<execution>
157-
<id>attach-shaded-jar</id>
158-
<phase>package</phase>
159-
<goals>
160-
<goal>attach-artifact</goal>
161-
</goals>
162-
<configuration>
163-
<artifacts>
164-
<artifact>
165-
<file>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</file>
166-
<type>jar</type>
167-
<classifier>shaded</classifier>
168-
</artifact>
169-
</artifacts>
170-
</configuration>
171-
</execution>
172-
</executions>
173-
</plugin>
174-
<!-- required for running tests in subproject -->
175-
<plugin>
176-
<groupId>org.apache.maven.plugins</groupId>
177-
<artifactId>maven-antrun-plugin</artifactId>
178-
<version>${maven-antrun-plugin.version}</version>
179-
<executions>
180-
<execution>
181-
<id>unpack-shaded-jar</id>
182-
<phase>package</phase>
183-
<goals>
184-
<goal>run</goal>
185-
</goals>
186-
<configuration>
187-
<target>
188-
<unzip src="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar"
189-
dest="${project.build.outputDirectory}"
190-
overwrite="true" />
191-
</target>
192145
</configuration>
193146
</execution>
194147
</executions>

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,6 @@ flexible messaging model and an intuitive client API.</description>
11081108
<groupId>${project.groupId}</groupId>
11091109
<artifactId>jetcd-core-shaded</artifactId>
11101110
<version>${project.version}</version>
1111-
<classifier>shaded</classifier>
11121111
<exclusions>
11131112
<exclusion>
11141113
<groupId>io.etcd</groupId>

pulsar-broker/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@
487487
<groupId>${project.groupId}</groupId>
488488
<artifactId>jetcd-core-shaded</artifactId>
489489
<version>${project.version}</version>
490-
<classifier>shaded</classifier>
491490
<scope>test</scope>
492491
</dependency>
493492
<dependency>

pulsar-metadata/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@
125125
<groupId>${project.groupId}</groupId>
126126
<artifactId>jetcd-core-shaded</artifactId>
127127
<version>${project.version}</version>
128-
<classifier>shaded</classifier>
129128
</dependency>
130129
<dependency>
131130
<groupId>io.grpc</groupId>

0 commit comments

Comments
 (0)