Commit 63f80d0e authored by Phillip Webb's avatar Phillip Webb

Include note about MAVEN_OPTS

parent f7b69fd0
...@@ -39,6 +39,9 @@ can be build using the standard maven command: ...@@ -39,6 +39,9 @@ can be build using the standard maven command:
$ mvn clean install $ mvn clean install
> **NOTE:** You may need to increase the amount of memory available to Maven by setting
> a `MAVEN_OPTS` environment variable with the value `-Xmx512m -XX:MaxPermSize=128m`
If you are rebuilding often, you might also want to skip the tests until you are ready If you are rebuilding often, you might also want to skip the tests until you are ready
to submit a pull request: to submit a pull request:
...@@ -79,9 +82,9 @@ from the `file` menu. ...@@ -79,9 +82,9 @@ from the `file` menu.
Maven is well supported by most Java IDEs. Refer to you vendor documentation. Maven is well supported by most Java IDEs. Refer to you vendor documentation.
### Integration tests ### Integration tests
The sample application are used as integration tests during the build (when you The sample application are used as integration tests during the build (when you
`mvn install`). Due to the fact that they make use of the `spring-boot-maven-plugin` `mvn install`). Due to the fact that they make use of the `spring-boot-maven-plugin`
they cannot be called directly, and so instead are launched via the they cannot be called directly, and so instead are launched via the
`maven-invoker-plugin`. If you encounter build failures running the integration tests, `maven-invoker-plugin`. If you encounter build failures running the integration tests,
check the `build.log` file in the appropriate sample directory. check the `build.log` file in the appropriate sample directory.
...@@ -232,6 +232,9 @@ latest and greatest, Spring Boot can be ...@@ -232,6 +232,9 @@ latest and greatest, Spring Boot can be
$ mvn clean install $ mvn clean install
> **NOTE:** You may need to increase the amount of memory available to maven by setting
> a `MAVEN_OPTS` environment variable with the value `-Xmx512m -XX:MaxPermSize=128m`
_Also see [CONTRIBUTING.md](CONTRIBUTING.md) if you wish to submit pull requests._ _Also see [CONTRIBUTING.md](CONTRIBUTING.md) if you wish to submit pull requests._
## Further Reading ## Further Reading
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment