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 3d99fdb7bf
Fix order of operations in Dockerfile
2 年之前
poms Update versions 2 年之前
repo Update reposilite 2 年之前
sync Fix order of operations in Dockerfile 2 年之前
.gitignore v0.1 of maven sync setup 3 年之前
README.md Automatically fetch latest POM files (#26) 3 年之前
docker-compose.override.yml Add script to simplify running tests 3 年之前
docker-compose.test.yml Add script to simplify running tests 3 年之前
docker-compose.yml Change the sync job to use gradle 2 年之前
generate_master_pom.sh Rename the pom file directory 3 年之前
package-list.txt Add gradle nodejs plugin 2 年之前
pom.xml Update versions 2 年之前
run.sh Change the sync job to use gradle 2 年之前
test.sh Add script to simplify running tests 3 年之前
update-poms.py Change update-poms.py to generate gradle build files instead of poms 2 年之前

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.