Skip to content

Commit db738a6

Browse files
committed
set useSystemClassLoader as false
1 parent 58ccd9f commit db738a6

1 file changed

Lines changed: 12 additions & 23 deletions

File tree

pom.xml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,24 @@
66
<artifactId>demo-junit</artifactId>
77
<version>1.0.1-20170422</version>
88

9+
<build>
10+
<plugins>
11+
<plugin>
12+
<groupId>org.apache.maven.plugins</groupId>
13+
<artifactId>maven-surefire-plugin</artifactId>
14+
<configuration>
15+
<useSystemClassLoader>false</useSystemClassLoader>
16+
</configuration>
17+
</plugin>
18+
</plugins>
19+
</build>
20+
921
<dependencies>
1022
<dependency>
1123
<groupId>junit</groupId>
1224
<artifactId>junit</artifactId>
1325
<version>4.12</version>
1426
<scope>test</scope>
1527
</dependency>
16-
17-
<dependency>
18-
<groupId>org.apache.httpcomponents</groupId>
19-
<artifactId>httpclient</artifactId>
20-
<version>4.3.1</version>
21-
</dependency>
22-
23-
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
24-
<dependency>
25-
<groupId>org.springframework</groupId>
26-
<artifactId>spring-core</artifactId>
27-
<version>5.1.5.RELEASE</version>
28-
</dependency>
29-
30-
<dependency>
31-
<groupId>com.alibaba</groupId>
32-
<artifactId>fastjson</artifactId>
33-
<version>1.2.56</version>
34-
</dependency>
35-
36-
37-
38-
3928
</dependencies>
4029
</project>

0 commit comments

Comments
 (0)