Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Support Relocation #4

@bristermitten

Description

@bristermitten

Relocation is pretty much a necessity with any classpath based process.
Currently PDM does not do this at all, which in the future may cause problems in the form of conflicts.

Implementing this would be a trivial process into the pipeline:

  1. Download
  2. Relocate based on version or something random
  3. Load into classpath

There are existing libraries to do this (eg Lucko's jar-relocator) or a custom solution may be necessary.

Relocation should likely be done in a typical format for 2 reasons:

  1. Maintains readable stacktraces
  2. Allows potential compatibility with things like shadow for transitive use.

This feature will likely also require a meta file that stores important information inside PluginLibraries. (Eg original package name)

This will likely be a feature that takes time, as it's important to make sure it's fully working before publishing at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions