Skip to content

Dist has gotten too large due to new maven features #2487

@headius

Description

@headius

The newish jar_dependencies feature in JRuby resulted in us having to ship Maven itself plus its dependencies. That increased the size of our distribution by more than 20MB. Other libraries contribute, but the ruby-maven-libs gem is the biggest issue.

Our users like the jar-dependencies feature, so it seems like we need to ship this stuff...but we need to shrink it down. Suggestions so far:

  • Install them as default gems. This will eliminate the cached gem file from our dist.
  • Use pack200 on the jars in the maven gem. That reduces size of the cached gem file (so moot point if we install as a default gem)
  • Install lazily or request user to install X.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions