, , ,

mvn spring-boot:run

mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=8081

org.springframework.boot:spring-boot-maven-plugin:3.2.1

<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>