mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=8081
org.springframework.boot:spring-boot-maven-plugin:3.2.1
mvn spring-boot:run -Dspring-boot.run.arguments=“property1 'property2=Hello World'”classesDirectory : (Required) <File> (${project.build.outputDirectory}) addResourcesadditionalClasspathElementsagentsargumentscommandlineArgumentsdirectoriesenvironmentVariablesexcludeGroupIdsexcludesincludesjvmArgumentsmainClassnoverifyoptimizedLaunchprofilesskipsystemPropertyVariablesuseTestClasspathworkingDirectory<project> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <arguments> <argument>property1</argument> <argument>property2=${my.value}</argument> </arguments> </configuration> </plugin> </plugins> </build> </project>