Skip to content

Commit 16d370f

Browse files
authored
feat: remove unnecessary springboot starter dependency (#52)
1 parent c98fd26 commit 16d370f

File tree

1 file changed

+38
-36
lines changed

1 file changed

+38
-36
lines changed

pom.xml

+38-36
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,19 @@
3232
<jackson.version>2.18.1</jackson.version>
3333
<dgs.cersion>9.2.2</dgs.cersion>
3434
<dgs-graphql-codegen-plugin.version>1.61.5</dgs-graphql-codegen-plugin.version>
35+
<graphql-dgs-client.version>9.2.2</graphql-dgs-client.version>
3536
<graphql-dgs-codegen-shared-code.version>5.12.4</graphql-dgs-codegen-shared-code.version>
37+
<okhttp.version>4.12.0</okhttp.version>
38+
<gson.version>2.10.1</gson.version>
39+
<slf4j.version>2.0.16</slf4j.version>
40+
<junit.version>5.9.1</junit.version>
41+
<assertj.version>3.24.2</assertj.version>
42+
<commons-text.version>1.12.0</commons-text.version>
43+
<commons-collections.version>4.4</commons-collections.version>
44+
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
45+
<maven-surefire-plugin.version>3.4.0</maven-surefire-plugin.version>
46+
<build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
47+
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
3648
</properties>
3749

3850
<dependencyManagement>
@@ -47,75 +59,77 @@
4759
</dependencies>
4860
</dependencyManagement>
4961
<dependencies>
62+
<!-- DGS framework -->
5063
<dependency>
5164
<groupId>com.netflix.graphql.dgs.codegen</groupId>
5265
<artifactId>graphql-dgs-codegen-shared-core</artifactId>
5366
<version>${graphql-dgs-codegen-shared-code.version}</version>
5467
</dependency>
5568
<dependency>
5669
<groupId>com.netflix.graphql.dgs</groupId>
57-
<artifactId>graphql-dgs-spring-boot-starter</artifactId>
70+
<artifactId>graphql-dgs-client</artifactId>
71+
<version>${graphql-dgs-client.version}</version>
5872
</dependency>
5973

74+
<!-- json -->
6075
<dependency>
6176
<groupId>com.fasterxml.jackson.datatype</groupId>
6277
<artifactId>jackson-datatype-joda</artifactId>
6378
<version>${jackson.version}</version>
6479
</dependency>
65-
6680
<dependency>
6781
<groupId>com.fasterxml.jackson.core</groupId>
6882
<artifactId>jackson-databind</artifactId>
6983
<version>${jackson.version}</version>
7084
</dependency>
71-
<dependency>
72-
<groupId>com.squareup.okhttp3</groupId>
73-
<artifactId>okhttp</artifactId>
74-
<version>4.12.0</version>
75-
</dependency>
7685
<dependency>
7786
<groupId>com.google.code.gson</groupId>
7887
<artifactId>gson</artifactId>
79-
<version>2.10.1</version>
88+
<version>${gson.version}</version>
89+
</dependency>
90+
91+
<!-- HttpClient -->
92+
<dependency>
93+
<groupId>com.squareup.okhttp3</groupId>
94+
<artifactId>okhttp</artifactId>
95+
<version>${okhttp.version}</version>
8096
</dependency>
8197

8298
<!-- Logging -->
8399
<dependency>
84100
<groupId>org.slf4j</groupId>
85101
<artifactId>slf4j-api</artifactId>
86-
<version>2.0.16</version>
102+
<version>${slf4j.version}</version>
103+
</dependency>
104+
<dependency>
105+
<groupId>org.slf4j</groupId>
106+
<artifactId>slf4j-simple</artifactId>
107+
<version>${slf4j.version}</version>
87108
</dependency>
88-
<!-- <dependency>-->
89-
<!-- <groupId>org.slf4j</groupId>-->
90-
<!-- <artifactId>slf4j-simple</artifactId>-->
91-
<!-- <version>2.0.16</version>-->
92-
<!-- <scope>test</scope>-->
93-
<!-- </dependency>-->
94109

95110
<!-- Utils -->
96111
<dependency>
97112
<groupId>org.apache.commons</groupId>
98113
<artifactId>commons-text</artifactId>
99-
<version>1.12.0</version>
114+
<version>${commons-text.version}</version>
100115
</dependency>
101116
<dependency>
102117
<groupId>org.apache.commons</groupId>
103118
<artifactId>commons-collections4</artifactId>
104-
<version>4.4</version>
119+
<version>${commons-collections.version}</version>
105120
</dependency>
106121

107122
<!-- Test -->
108123
<dependency>
109124
<groupId>org.junit.jupiter</groupId>
110125
<artifactId>junit-jupiter-engine</artifactId>
111-
<version>5.9.1</version>
126+
<version>${junit.version}</version>
112127
<scope>test</scope>
113128
</dependency>
114-
115129
<dependency>
116130
<groupId>org.assertj</groupId>
117131
<artifactId>assertj-core</artifactId>
118-
<version>3.24.2</version>
132+
<version>${assertj.version}</version>
119133
</dependency>
120134
</dependencies>
121135

@@ -130,7 +144,7 @@
130144
<plugin>
131145
<groupId>org.apache.maven.plugins</groupId>
132146
<artifactId>maven-compiler-plugin</artifactId>
133-
<version>3.13.0</version>
147+
<version>${maven-compiler-plugin.version}</version>
134148
<configuration>
135149
<source>${maven.compiler.source}</source>
136150
<target>${maven.compiler.source}</target>
@@ -139,19 +153,7 @@
139153
<plugin>
140154
<groupId>org.apache.maven.plugins</groupId>
141155
<artifactId>maven-surefire-plugin</artifactId>
142-
<version>3.4.0</version>
143-
</plugin>
144-
<plugin>
145-
<groupId>org.projectlombok</groupId>
146-
<artifactId>lombok-maven-plugin</artifactId>
147-
<version>1.18.20.0</version>
148-
<executions>
149-
<execution>
150-
<goals>
151-
<goal>delombok</goal>
152-
</goals>
153-
</execution>
154-
</executions>
156+
<version>${maven-surefire-plugin.version}</version>
155157
</plugin>
156158
</plugins>
157159
</build>
@@ -179,7 +181,7 @@
179181
<plugin>
180182
<groupId>org.codehaus.mojo</groupId>
181183
<artifactId>build-helper-maven-plugin</artifactId>
182-
<version>3.2.0</version>
184+
<version>${build-helper-maven-plugin.version}</version>
183185
<executions>
184186
<execution>
185187
<phase>generate-sources</phase>
@@ -197,7 +199,7 @@
197199
<plugin>
198200
<groupId>org.apache.maven.plugins</groupId>
199201
<artifactId>maven-javadoc-plugin</artifactId>
200-
<version>3.11.2</version>
202+
<version>${maven-javadoc-plugin.version}</version>
201203
<configuration>
202204
<source>${maven.compiler.source}</source>
203205
</configuration>

0 commit comments

Comments
 (0)