You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sindre Stephansen 8f97ab6be2
Replace wait-for-it.sh with a simpler method (#25)
пре 3 година
poms Rename the pom file directory пре 3 година
repo Restructure the project so the repo and sync are run together пре 3 година
sync Replace wait-for-it.sh with a simpler method (#25) пре 3 година
.gitignore v0.1 of maven sync setup пре 3 година
README.md Rename the pom file directory пре 3 година
docker-compose.yml Rename the pom file directory пре 3 година
generate_master_pom.sh Rename the pom file directory пре 3 година
pom.xml Rename the pom file directory пре 3 година
run.sh Restructure the project so the repo and sync are run together пре 3 година

README.md

Maven Sync Setup

Reposilite-based Maven Repository Manager acting as a caching proxy.

Downloading packages

Run the following command:

./run.sh

This starts the reposilite server, then starts maven and makes download all packages defined in the pom's in the poms/ 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 poms/.

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.