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.
larsw 86d200bd2c
Merge pull request #9 from larsw/dependabot/maven/examples/quarkus-camel/org.springframework-spring-core-5.3.19
преди 3 години
examples Merge pull request #9 from larsw/dependabot/maven/examples/quarkus-camel/org.springframework-spring-core-5.3.19 преди 3 години
repo Restructure the project so the repo and sync are run together преди 3 години
sync Fix warning about central not existing преди 3 години
.gitignore v0.1 of maven sync setup преди 3 години
README.md Add a master pom.xml as an entrypoint for dependabot (#6) преди 3 години
docker-compose.yml Make sure the maven container doesn't have internet преди 3 години
generate_master_pom.sh Add a master pom.xml as an entrypoint for dependabot (#6) преди 3 години
pom.xml Add a master pom.xml as an entrypoint for dependabot (#6) преди 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 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.