Skip to content

Rework default packaging #31

Closed
Closed

Description

@bmarwell

The default packaging should be changed, as discussed on Slack.

Current situtation

The build will create

  • a default jar with machine-type classifier, containing only this native library.
  • a "uber-jar" with precompiled libraries.

Critique

  • A jar with only one native library is rarely needed.
  • Instead, a jar with all the other precompiled libaries, but only one-off/updated (selected arch) would be much more helpful.
  • The "uber-jar" should be the default jar, because it is what developers would expect.
  • The warning that an assembly provides the default jar (no classifier) is irritating.
  • At the moment, creating fat jars is quite complicated due to this implementation (See Create a dependency-bundled jar #21).

Proposed Solution

  • Replace the default jar with a jar containing all the precompiled libraries.
  • Create an additional jar with the existing classifier which includes the one-off (updated) library for the selected system type.

Activity

  1. added
    enhancement
    component:maven
    on Apr 10, 2019
  2. self-assigned this
    on Apr 10, 2019
  3. added a commit that references this issue on Apr 10, 2019
    4ab8763
  4. added a commit that references this issue on Apr 11, 2019
    7c6e0e4
  5. tresf commented on Apr 11, 2019

    @tresf
    • Replace the default jar with a jar containing all the precompiled libraries.
    • Create an additional jar with the existing classifier which includes the one-off (updated) library for the selected system type.

    Both of these were accomplished when maven was merged into master. I think this is OK to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component:mavenenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions