Skip to content

Conversation

@dchenbec
Copy link
Contributor

@dchenbec dchenbec commented Sep 16, 2022

Issue #, if available:

Some end users would like a JAR that includes the non-driver dependencies

Description of changes:

This change sets up Maven configuration to produce a shaded JAR including all non-driver dependencies. This also adds the JaCoCo plugin to provide code coverage for builds.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This will generate code coverage report as part of the package/release
targets so that we can identify areas needing improved testing.
Adds in the Maven Shade plugin in order to create
a shaded (dependencies included) JAR for a given release. We update
the configuration to use a different JAR and artifact ID in order to
not conflict with the plugin-only JAR.
The shaded JAR will be published to the GitHub releases page for
easier access. We assume that people who want the shaded JAR are not
already using Maven, so publishing the shaded JAR as an artifact would
complicate things.
Copy link
Contributor

@michaelraney michaelraney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

@dchenbec dchenbec merged commit 6b199e1 into aws:master Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants