# 19.3. 使用Maven插件运行

Spring Boot Maven插件包含一个`run`目标，可用来快速编译和运行应用程序，并且跟在IDE运行一样支持热加载。下面的例子展示了运行Spring Boot应用的一个典型的Maven命令：

```
$ mvn spring-boot:run
```

你可能还会想使用操作系统环境变量`MAVEN_OPTS`：

```
$ export MAVEN_OPTS=-Xmx1024m
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jack80342.gitbook.io/spring-boot/iii.-using-spring-boot/19.-running-your-application/19.3.-using-the-maven-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
