Skip to content

Commit b8433ed

Browse files
authored
chore: cleanup operator-framework-core pom (#518)
1 parent 1350516 commit b8433ed

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

Diff for: operator-framework-core/pom.xml

+6-13
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,11 @@
1515
<description>Core framework for implementing Kubernetes operators</description>
1616
<packaging>jar</packaging>
1717

18-
<properties>
19-
<java.version>11</java.version>
20-
<maven.compiler.source>11</maven.compiler.source>
21-
<maven.compiler.target>11</maven.compiler.target>
22-
<micrometer-core.version>1.7.3</micrometer-core.version>
23-
</properties>
24-
2518
<build>
2619
<plugins>
2720
<plugin>
2821
<groupId>org.apache.maven.plugins</groupId>
2922
<artifactId>maven-surefire-plugin</artifactId>
30-
<version>${maven-surefire-plugin.version}</version>
3123
</plugin>
3224
<plugin>
3325
<!-- Used to generate the version / commit information -->
@@ -59,14 +51,20 @@
5951
</build>
6052

6153
<dependencies>
54+
<!-- We use the OpenShift client, because functionally it is a superset of the Kubernetes client -->
6255
<dependency>
6356
<groupId>io.fabric8</groupId>
6457
<artifactId>openshift-client</artifactId>
6558
</dependency>
59+
6660
<dependency>
6761
<groupId>org.slf4j</groupId>
6862
<artifactId>slf4j-api</artifactId>
6963
</dependency>
64+
<dependency>
65+
<groupId>io.micrometer</groupId>
66+
<artifactId>micrometer-core</artifactId>
67+
</dependency>
7068

7169
<dependency>
7270
<groupId>org.junit.jupiter</groupId>
@@ -99,10 +97,5 @@
9997
<artifactId>log4j-core</artifactId>
10098
<scope>test</scope>
10199
</dependency>
102-
<dependency>
103-
<groupId>io.micrometer</groupId>
104-
<artifactId>micrometer-core</artifactId>
105-
<version>${micrometer-core.version}</version>
106-
</dependency>
107100
</dependencies>
108101
</project>

Diff for: pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<assertj.version>3.20.2</assertj.version>
5353
<awaitility.version>4.1.0</awaitility.version>
5454
<spring-boot.version>2.5.4</spring-boot.version>
55+
<micrometer-core.version>1.7.3</micrometer-core.version>
5556

5657
<fmt-maven-plugin.version>2.11</fmt-maven-plugin.version>
5758
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
@@ -110,6 +111,11 @@
110111
<artifactId>compile-testing</artifactId>
111112
<version>${compile-testing.version}</version>
112113
</dependency>
114+
<dependency>
115+
<groupId>io.micrometer</groupId>
116+
<artifactId>micrometer-core</artifactId>
117+
<version>${micrometer-core.version}</version>
118+
</dependency>
113119

114120
<dependency>
115121
<groupId>com.squareup</groupId>

0 commit comments

Comments
 (0)