Skip to content

Request to support Class-Path attribute in plugin Jar #3797

Open
@JohnNiang

Description

@JohnNiang

Your current Halo version

2.5.0-SNAPSHOT

Describe this feature

Currently, when building plugin, all dependencies are flatten into root of plugin Jar. It might override the META-INF folder.

It would be better if we move all dependencies into libs folder in plugin Jar and refine Class-Path attribute into MANIFIST.MF. See https://docs.oracle.com/en/java/javase/17/docs/specs/jar/jar.html#class-path-attribute for more. So that we cloud load dependencies automatically.

Additional information

/kind feature
/area core
/area plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues or PRs related to the Halo Corearea/pluginIssues or PRs related to the Plugin Providerkind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions