graphaware / neo4j-framework

GraphAware Neo4j Framework
244 stars 68 forks source link

Framework version is read from POM #97

Closed michal-trnka closed 4 years ago

michal-trnka commented 4 years ago

Framework version for stats purposes was defined in constant. The constant had to be manually changed as part of every release. This is major issue for continuous integration/deployment process.

Currently the version is read from property file, where is updated automatically by maven resource module. Allowing resource filtering in pom.xml enables variable substitution.

Class VersionReader (and tests for its method) has been created to allow reading from the file. For now the read results are not cached, as they are used in a single place that do caching itself.