Skip to content

Commit 2ac33a6

Browse files
committed
enforce explicit dependency scope
1 parent 92b8a48 commit 2ac33a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
</goals>
7676
<configuration>
7777
<rules>
78+
<requireExplicitDependencyScope/>
7879
<dependencyConvergence/>
7980
</rules>
8081
</configuration>
@@ -232,22 +233,26 @@
232233
<dependency>
233234
<groupId>com.arangodb</groupId>
234235
<artifactId>arangodb-java-driver</artifactId>
236+
<scope>compile</scope>
235237
</dependency>
236238

237239
<!-- Spring -->
238240
<dependency>
239241
<groupId>org.springframework</groupId>
240242
<artifactId>spring-tx</artifactId>
243+
<scope>compile</scope>
241244
</dependency>
242245
<dependency>
243246
<groupId>org.springframework</groupId>
244247
<artifactId>spring-context</artifactId>
248+
<scope>compile</scope>
245249
</dependency>
246250

247251
<!-- Spring Data -->
248252
<dependency>
249253
<groupId>org.springframework.data</groupId>
250254
<artifactId>spring-data-commons</artifactId>
255+
<scope>compile</scope>
251256
</dependency>
252257

253258
<!-- Test -->

0 commit comments

Comments
 (0)