-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
In order to reproduce/regenerate a Maven repository from a lockfile, each GAV-ed artifact needs the following:
- The artifact (
log4j-1.4.1.jar
) - The artifact checksum (
log4j-1.4.1.jar.sha1
) - The artifact POM (
log4j-1.4.1.pom
) - The artifact POM checksum (
log4j-1.4.1.pom.sha1
) - The
_remote.repository
file.
The latter (_remote.repository
) is an internal implementation detail of Maven used to track the source of the dependencies, and looks like this:
#NOTE: This is a Maven Resolver internal implementation file, its format can be changed without prior notice.
#Tue May 20 10:52:25 EDT 2025
commons-text-1.13.1.jar>central=
commons-text-1.13.1.pom>central=
...where central
is the ID of the Maven repository used to pull the artifact.
I think it makes sense for the lockfile to do the following:
- For each artifact, include a field that references the source repository by its ID.
- Include in the metadata (perhaps as a separate JSON object) the list of repositories and their settings (url, layout, etc.)
Metadata
Metadata
Assignees
Labels
No labels