Skip to content

Java helper for getting the current project's version from test code.

License

Notifications You must be signed in to change notification settings

exasol/maven-project-version-getter

Repository files navigation

Maven Project Version Getter

Build Status Maven Central – Maven Project Version Getter

Quality Gate Status

Security Rating Reliability Rating Maintainability Rating Technical Debt

Code Smells Coverage Duplicated Lines (%) Lines of Code

Java helper library for getting the current project's version from test code.

Usage

MavenProjectVersionGetter.getCurrentProjectVersion(); //returns for example "0.1.0"

You can also use this tool to get the version of a different project:

MavenProjectVersionGetter.getProjectVersion(Path.of("path/to/project/pom.xml"));

Additional Information: