These are my implementation of the Advent of Code 2022.
Each daily challenge is implemented as separate maven module. This leads to some code duplication, but guarantees that the modules are independent. The challenges are not only maven-modules, but java-modules as well.
To build all challenges and execute the tests, we run the following command:
./mvnw clean package
mvnw.cmd clean package
We can build a specific challenge by just building the corresponding maven submodule, e.g.:
./mvnw --projects day-25 clean package
mvnw.cmd --projects day-25 clean package
Executing the package
target generates some documentation for each challenge. For example, test coverage reports can be found in <module-name>/target/jacoco/index.html
The repository supports generating documentation by executing
./mvnw --define skipTests --define disable-formatter site
mvnw.cmd --define skipTests --define disable-formatter site
The generated documentation can then be found under target/staging/index.html
.
Thanks goes to these wonderful people (emoji key):
Marco Bungart 💻 🚧 🚇 |
This project follows the all-contributors specification. Contributions of any kind welcome!