Skip to content

Commit c51db63

Browse files
committed
Update scope of the dependencies at poms
1 parent 64ae055 commit c51db63

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>ch.qos.logback</groupId>
4343
<artifactId>logback-classic</artifactId>
44-
<scope>test</scope>
44+
<optional>true</optional>
4545
</dependency>
4646

4747
<!-- date and time library for Java -->

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,32 @@
2626

2727
<dependencyManagement>
2828
<dependencies>
29+
<!-- for test -->
2930
<dependency>
3031
<groupId>junit</groupId>
3132
<artifactId>junit</artifactId>
3233
<version>${junitVersion}</version>
34+
<scope>test</scope>
3335
</dependency>
3436
<dependency>
3537
<groupId>org.mockito</groupId>
3638
<artifactId>mockito-core</artifactId>
3739
<version>1.10.19</version>
40+
<scope>test</scope>
3841
</dependency>
3942
<dependency>
4043
<groupId>org.hamcrest</groupId>
4144
<artifactId>hamcrest-core</artifactId>
4245
<version>1.3</version>
46+
<scope>test</scope>
4347
</dependency>
4448
<dependency>
4549
<groupId>org.hamcrest</groupId>
4650
<artifactId>hamcrest-library</artifactId>
4751
<version>1.3</version>
52+
<scope>test</scope>
4853
</dependency>
54+
<!-- for log -->
4955
<dependency>
5056
<groupId>org.slf4j</groupId>
5157
<artifactId>slf4j-api</artifactId>
@@ -55,6 +61,7 @@
5561
<groupId>ch.qos.logback</groupId>
5662
<artifactId>logback-classic</artifactId>
5763
<version>${logbackVersion}</version>
64+
<optional>true</optional>
5865
</dependency>
5966
</dependencies>
6067
</dependencyManagement>

toolkit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>ch.qos.logback</groupId>
5656
<artifactId>logback-classic</artifactId>
57-
<scope>test</scope>
57+
<optional>true</optional>
5858
</dependency>
5959

6060
<!-- httprequest and httpresponse -->

0 commit comments

Comments
 (0)