Skip to content

Published JAR contains all dependencies #54

@kaklakariada

Description

@kaklakariada

The JAR file published to Maven Central is 9M large and contains all dependencies: https://repo1.maven.org/maven2/com/exasol/import-export-udf-common-scala_2.13/1.1.2/

As this project is used as a dependency in other projects, it causes problems when all dependencies are included in the JAR instead of declaring them in the pom.

That's why we should not build a fat JAR and remove the dependencies by updating maven-assembly-plugin and removing configuration

                    <descriptors>
                        <descriptor>src/assembly/all-dependencies.xml</descriptor>
                    </descriptors>

Metadata

Metadata

Assignees

Labels

bugUnwanted / harmful behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions