Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Sindre Stephansen f885c8b4cc
Add a master pom.xml as an entrypoint for dependabot (#6)
3 år sedan
examples Add a master pom.xml as an entrypoint for dependabot (#6) 3 år sedan
repo Restructure the project so the repo and sync are run together 3 år sedan
sync Fix warning about central not existing 3 år sedan
.gitignore v0.1 of maven sync setup 3 år sedan
README.md Add a master pom.xml as an entrypoint for dependabot (#6) 3 år sedan
docker-compose.yml Make sure the maven container doesn't have internet 3 år sedan
generate_master_pom.sh Add a master pom.xml as an entrypoint for dependabot (#6) 3 år sedan
pom.xml Add a master pom.xml as an entrypoint for dependabot (#6) 3 år sedan
run.sh Restructure the project so the repo and sync are run together 3 år sedan

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 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.