Fix link to import-into-intellij-idea.md

master
Sam Brannen 2 months ago
parent
commit
4e2ea48246
  1. 7
      Build-from-Source.md

7
Build-from-Source.md

@ -16,7 +16,6 @@ For users of SDKMAN, Spring Framework provides `.sdkmanrc` files that configures @@ -16,7 +16,6 @@ For users of SDKMAN, Spring Framework provides `.sdkmanrc` files that configures
Simply use `sdk env` to do so.
This command is also available in the 6.2 branch, which uses JDK 17.
### Get the Source Code
```shell
@ -34,13 +33,12 @@ To compile, test, and build all jars, distribution zips, and docs use: @@ -34,13 +33,12 @@ To compile, test, and build all jars, distribution zips, and docs use:
The first time you run the build it may take a while to download Gradle and all build dependencies, as well as to run all tests. Once you've bootstrapped a Gradle distribution and downloaded dependencies, those are cached in your `$HOME/.gradle` directory.
Gradle has good incremental build support, so run without `clean` to keep things snappy. You can also use the `-a` flag and the `:<project>` prefix to avoid evaluating and building other modules. For example, if iterating over changes in `spring-webmvc`, run with the following to evaluate and build only that module:
Gradle has good incremental build support, so run without `clean` to keep things snappy. You can also use the `-a` flag and the `:<project>` prefix to avoid evaluating and building other modules. For example, if iterating over changes in `spring-webmvc`, run with the following to build and test only that module:
```shell
./gradlew -a :spring-webmvc:test
```
### Install in local Maven repository
If you need to publish Spring Framework artifacts locally for testing, you can do the following:
@ -57,8 +55,7 @@ To install all Spring Framework jars in your local Maven repository, use the fol @@ -57,8 +55,7 @@ To install all Spring Framework jars in your local Maven repository, use the fol
./gradlew publishToMavenLocal
```
### Import into your IDE
Ensure JDK 17 is configured properly in the IDE.
Follow the instructions for [Eclipse](https://github.com/spring-projects/spring-framework/blob/master/import-into-eclipse.md) and [IntelliJ IDEA](https://github.com/spring-projects/spring-framework/blob/master/import-into-idea.md).
Follow the instructions for [Eclipse](https://github.com/spring-projects/spring-framework/blob/main/import-into-eclipse.md) and [IntelliJ IDEA](https://github.com/spring-projects/spring-framework/blob/main/import-into-intellij-idea.md).

Loading…
Cancel
Save