wp-rest-client developer's README¶
Setup & Run¶
This project uses SDKMAN to manage the JDK and MAVEN version.
1. Install SDKMAN¶
Run the following command:
Then initialize it:
Verify installation:
2. Enable automatic SDK switching¶
To automatically switch to the correct SDK versions when entering the project directory, enable SDKMAN’s auto-env feature.
Run:
Then set:
Save and exit.
💡 SDK versions will automatically switch when you
cdinto the project directory.
3. Use project-specific SDK settings¶
This project includes a .sdkmanrc file that defines the required SDK versions.
With auto-env enabled, SDKMAN will automatically:
- detect the
.sdkmanrcfile - install missing SDKs (if needed)
- switch to the correct versions when you enter the project directory
If this is your first time in the project, run:
After that, simply navigating into the project folder will activate the correct environment:
4. Build and run¶
Using the Maven wrapper:
or
Or with a global Maven installation: