> For the complete documentation index, see [llms.txt](https://help.goorm.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.goorm.io/en/goormide/getting-started/build/spring-maven.md).

# Spring-Maven

### Spring-Maven

This is the build/run options settings for a Spring-Maven project.&#x20;

The `project.build` described below refers to the `<project> <build></build> </project>` in the `pom.xml` file.

<figure><img src="/files/PNVCzbim7S5oJSwGcba1" alt="" width="563"><figcaption></figcaption></figure>

1. pom.xml path - The path to the `pom.xml` file. The default setting is `pom.xml` in the top-level path of the project.&#x20;
   * Automatically set `pom.xml` path when container runs - If checked, automatically locate and set the pom.xml location when accessing the container. The top-level `pom.xml` is prioritised.&#x20;
   * The lower property values will be set automatically by changing the `pom.xml` path, saving the `pom.xml` file, or referencing the file when the project is run. At this time, the `project.properties` set in the `pom.xml` are also read and applied.
2. Deploy path - This is the path that `Tomcat` looks at when running the project. The \[Project]>\[Toggle Auto Build] feature will also compile and copy files based on this path. The path is set to `project.build.directory/project.build.finalName` in the `pom.xml`.&#x20;
   * Command variable: `${java.set.deploy.path}`&#x20;
3. Source path - set to `project.build.sourceDirectory` in the `pom.xml`.&#x20;
   * Command variable: `${java.set.src_path}`&#x20;
4. Build path - set to `project.build.outputDirectory` in the `pom.xml`.&#x20;
   * Command variable: `${java.set.build.path}`&#x20;
5. Log file path - Set the path to the log file.&#x20;

The set in of the `pom.xml` are also available.&#x20;

* Reads the `profile.properties` where `project.profiles.profile.activation.activeByDefault` is set to true.&#x20;
* If the variable names are the same as those in the existing `project.properties`, the values set in `project.profiles` will take precedence.
