Skip to content

[Maintenance]: Include environment and version information inside the JAR file #5973

Description

@kwvanderlinde

Describe the problem

To get accurate sentry reporting and versioning information, we rely on users of the JAR files providing correct values for the sentry.environment system property and the -v application argument. This is not reliable.

The improvement you'd like to see

Prior to packaging the jar, write any relevant build information to resource files to be consumed by the application when run.

Expected Benefits

We will no longer rely on users of the JAR files to provide accurate information related to their build.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

code-maintenanceAdding/editing javadocs, unit tests, formatting.
No fields configured for Code Maintenance.

Projects

Status
Awaiting-Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions