Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/dep check #66

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Chore/dep check #66

merged 1 commit into from
Oct 31, 2023

Conversation

davidsloan
Copy link
Contributor

@davidsloan davidsloan commented Oct 31, 2023

Java jars usually come packaged with a META-INF/maven directory, known as the maven descriptor, which contains information about all dependencies packaged within. As we were using SBT we were not generating a maven descriptor, and only passing along the descriptors from some of our dependent jars. This was causing an issue that the descriptor reported some of our components packaged within as out-of-date.

This PR adds the creation of a maven descriptor director during the compile stage, which is packaged into the final jar via sbt assembly. We also avoid packaging the maven descriptors from our dependencies as these are unreliable.

I have verified that this works by looking at the dependency report and I can see that json-smart is no longer reported as an old version.

@davidsloan davidsloan merged commit 201494c into master Oct 31, 2023
3 checks passed
@davidsloan davidsloan deleted the chore/dep-check branch October 31, 2023 17:29
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.

2 participants