- JDK 25+ (for coding and debugging, but not necessary if running the service in containers)
- Docker Desktop
The project uses the external dependency spring-base-commons.
-
For Windows, run this script
-
For Linux, run this script
- Run
chmod +x ./create-data-classes.shif you don't have permission to execute the shell file.
- Run
Check if your pom.xml contains these lines in the <dependencies> section:
<dependency>
<groupId>com.vulinh</groupId>
<artifactId>spring-base-commons</artifactId>
<version>${spring-base-commons.version}</version>
</dependency>This project uses spring-base-commons as an external dependency (see above). If you want to change the version, check the following locations:
-
pom.xmlfile - find the propertyspring-base-commons.version. -
Environment variable
SPRING_BASE_COMMONS_VERSIONin:-
create-data-classes.cmd (Windows)
-
create-data-classes.sh (Linux)
-
GitHub Actions workflows (the variable is
${{ env.SPRING_BASE_COMMONS_VERSION }})
You can run this script (Windows only) or this script (Linux only), and it will start the required containers for local development: PostgreSQL and Keycloak.
Both scripts have already handled the external dependency for you. See the Required External Dependency section for more information.
You can run this script (Windows only), or this script (Linux only) and it will build the service image and start the containers for you.
Again, both scripts have already handled the external dependency for you.
If you want to make use of host OS to build the images (to speed up the build process), run this script (Windows only) or this script (Linux only) instead.