Skip to content

Commit 6e3cc79

Browse files
authored
[hotfix] httpclinent -> httpclient
1 parent 6c73673 commit 6e3cc79

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ WORKDIR /app
2525

2626
COPY . .
2727

28-
RUN --mount=type=cache,target=/root/.m2 mvn -ntp clean install -pl flink-kubernetes-standalone,flink-kubernetes-operator-api,flink-kubernetes-operator,flink-autoscaler,flink-kubernetes-webhook -DskipTests=$SKIP_TESTS -Dfabric8.httpclinent.impl="$HTTP_CLIENT"
28+
RUN --mount=type=cache,target=/root/.m2 mvn -ntp clean install -pl flink-kubernetes-standalone,flink-kubernetes-operator-api,flink-kubernetes-operator,flink-autoscaler,flink-kubernetes-webhook -DskipTests=$SKIP_TESTS -Dfabric8.httpclient.impl="$HTTP_CLIENT"
2929

3030
RUN cd /app/tools/license; mkdir jars; cd jars; \
3131
cp /app/flink-kubernetes-operator/target/flink-kubernetes-operator-*-shaded.jar . && \

flink-kubernetes-operator/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ under the License.
3838
--add-opens=java.base/java.util=ALL-UNNAMED
3939
</surefire.module.config>
4040
<!-- valid options can be checked at https://central.sonatype.com/search?q=kubernetes-httpclient- currently: okhttp, jdk, jetty, vertx -->
41-
<fabric8.httpclinent.impl>okhttp</fabric8.httpclinent.impl>
41+
<fabric8.httpclient.impl>okhttp</fabric8.httpclient.impl>
4242
</properties>
4343

4444
<dependencies>
@@ -69,7 +69,7 @@ under the License.
6969
<dependency>
7070
<!-- https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#what-artifacts-should-my-project-depend-on-->
7171
<groupId>io.fabric8</groupId>
72-
<artifactId>kubernetes-httpclient-${fabric8.httpclinent.impl}</artifactId>
72+
<artifactId>kubernetes-httpclient-${fabric8.httpclient.impl}</artifactId>
7373
<version>${fabric8.version}</version>
7474
<exclusions>
7575
<exclusion>
@@ -425,7 +425,7 @@ under the License.
425425
<id>depend-on-okhttp4</id>
426426
<activation>
427427
<property>
428-
<name>fabric8.httpclinent.impl</name>
428+
<name>fabric8.httpclient.impl</name>
429429
<value>okhttp</value>
430430
</property>
431431
</activation>

0 commit comments

Comments
 (0)