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

Splits the JCommander code into it's own class to allow embedded applications to exclude it #397

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

devinsba
Copy link
Contributor

@devinsba devinsba commented Aug 3, 2022

dd-trace-java doesn't require JCommander code in order to execute JMXFetch so spliting it like this allows us to exclude the dependency entirely, removing exposure to the vulnerabilities and making our Jar smaller

@@ -5,7 +5,7 @@

<groupId>com.datadoghq</groupId>
<artifactId>jmxfetch</artifactId>
<version>0.46.0</version>
<version>0.47.0-SNAPSHOT</version>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure what your version flow is, I needed to do this to test locally

@carlosroman carlosroman self-requested a review August 24, 2022 13:45
@carlosroman carlosroman merged commit f335b3f into master Aug 24, 2022
@carlosroman carlosroman deleted the bds/split-main-class branch August 24, 2022 13:47
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