# Maven Sync Setup _Reposilite_-based Maven Repository Manager acting as a caching proxy. ## Downloading packages Run the following command: ```sh ./run.sh ``` This starts the reposilite server, then starts maven and makes download all packages defined in the pom's in the `examples/` folder, including their dependencies. These packages are then cached by reposilite in `data/`. The relevant folders are turned into tarballs and saved in the root directory. ## Adding packages New packages should be defined as a dependency in a `pom.xml` file in a subfolder in `examples/`. After the `pom.xml` is updated, run `./generate_master_pom.xml` to update the root `pom.xml` file, and commit the changes. This structure is necessary to make dependabot find all dependencies.