Skip to content

Extra/Duplicate dependency of jline-console in picocli-shell-jline3 (pom.xml/build.gradle) #1516

@kaushalkumar

Description

@kaushalkumar

pom.xml/build.gradle of picocli-shell-jline3 defines a compile time dependency on jline and jline-console. The second dependency of jline-console is unwanted as jline contains all the required dependency including the classes of jline-console. Ref: https://github.com/jline/jline3#artifacts. The dependency of jline-console pulls other individual jars of jline in maven classpath.
These additional dependency jars throws warning when we use proguard maven plugin to optimise the package. A snippet of the warning is "Note: duplicate definition of library class [org.jline.console.ArgDesc]".

Can we please remove the extra dependency from build.gradle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions