This repository contains code exercises, it is a sort of my code gym
- JDK 23
- Maven 3.9+ (Wrapper included)
To build the project, run:
./mvnw clean packageTo skip tests during build:
./mvnw clean package -DskipTests./mvnw testThe project supports building both native executables and Docker images. You can build them together using:
# Build everything with both native and docker profiles
./mvnw clean package -Pdocker,nativeNative binaries will be created in the respective target directories:
cli/target/exercises-cliweb-javalin/target/exercises-web-javalin
The Docker image will be built as robfrank/exercises-web with tags for latest and the current version.
This project uses GitHub Actions for automated releases. To create a new release:
-
Tag the commit with a version number using the format
v*.*.*:git tag v1.0.0 git push origin v1.0.0
-
The tag push will trigger the automated release workflow, which:
- Runs pre-commit checks
- Builds the project
- Creates a GitHub release with the built JAR files
- Generates release notes automatically