Skip to content

Commit 6c2d840

Browse files
committed
[pom] Adjustment for argline
not wanting to work in old way, move to properties only until more research.
1 parent c08e518 commit 6c2d840

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<mybatis-thymeleaf.version>1.0.3</mybatis-thymeleaf.version>
7575
<spring-boot.version>2.7.3</spring-boot.version>
7676

77-
<argLine>-Djdk.attach.allowAttachSelf --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
77+
<argLine>-Djdk.attach.allowAttachSelf --add-opens java.base/java.lang=ALL-UNNAMED -Dfile.encoding=UTF-8</argLine>
7878
</properties>
7979

8080
<build>
@@ -103,10 +103,6 @@
103103
<plugin>
104104
<groupId>org.apache.maven.plugins</groupId>
105105
<artifactId>maven-surefire-plugin</artifactId>
106-
<configuration>
107-
<!-- Add setting 'file.encoding' for Windows environment -->
108-
<argLine>${argLine} -Djdk.attach.allowAttachSelf -Dfile.encoding=UTF-8</argLine>
109-
</configuration>
110106
</plugin>
111107
</plugins>
112108
</pluginManagement>

0 commit comments

Comments
 (0)