8000 Support JAR file generation with embedded JARs, like the ones generated by spring-boot · Issue #230 · shrinkwrap/shrinkwrap · GitHub
[go: up one dir, main page]

Skip to content

Support JAR file generation with embedded JARs, like the ones generated by spring-boot #230

Open

Description

@xjusko

I'm trying to use Arquillian + Cube Docker + Cube Containerless to generate tests for an application that uses Spring Boot. The Spring Boot plugin ends up generating a JAR file that internally contains other JARs (the application dependencies). Those JARs are stored with no compression (as opposed to regular classes that are stored deflated).

To simplify my test and make it as compatible as possible to the final artifact, my deployment generation imports the same JAR file that spring boot plugin is generating. But when said JAR is exported internally by Arquillian Cube, all entries (including embedded libraries) are stored in the final JAR file as compressed. As a result, the JAR file cannot be executed using java -jar

The ideal solution is that the exporter should be aware of this limitation, and embedded JARs inside another JAR shouldn't be compressed.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0