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 packagemvnw.cmd clean packageWe can build a specific challenge by just building the corresponding maven submodule, e.g.:
./mvnw --projects day-25 clean packagemvnw.cmd --projects day-25 clean packageExecuting 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 sitemvnw.cmd --define skipTests --define disable-formatter siteThe 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!