Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Sindre Stephansen 7c318a8617 Run coursier once for each package il y a 2 ans
sync Run coursier once for each package il y a 2 ans
.gitignore v0.1 of maven sync setup il y a 3 ans
README.md Automatically fetch latest POM files (#26) il y a 3 ans
package-list.txt Automatically look for jvm versions of packages il y a 2 ans
run.sh Change run.sh to use the coursier docker image il y a 3 ans
test.sh Add script to simplify running tests il y a 3 ans
update-poms.py Sort package list il y a 2 ans

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

Automatically

New packages can be added to the package-list.txt file. The group ID and artifact ID are required, but the version is optional. If the version number is omitted the latest version is found. Run ./update-poms.sh to generate the pom files from the package file. The root pom.xml file is updated automatically.

Manually

Pom files can be added manually by creating a folder with a pom.xml file in the poms/ folder.

After the pom.xml is created, 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.