TYPO3-Solr / solr-typo3-plugin

An Apache Solr filter plugin to support TYPO3 access restrictions.
http://www.typo3-solr.com
Apache License 2.0
7 stars 5 forks source link

AccessFilterQParserPlugin should read version number from pom.xml #1

Closed irnnr closed 9 years ago

irnnr commented 9 years ago

Currently the plugin's version number is hardcoded in AccessFilterQParserPlugin.java; It can happen (= it happened!) that we forget to update this version number when releasing the plugin.

To prevent this the plugin should read the version from the pom file or maven should update AccessFilterQParserPlugin.java

irnnr commented 9 years ago

Fixed in 056a6da389cc28420a51a6021341a937376e9558

http://stackoverflow.com/questions/2712970/how-to-get-maven-artifact-version-at-runtime

irnnr commented 9 years ago

Trying to implement a test, but the package ImplementationVersion property is not set in JUnit context.

irnnr commented 9 years ago

fixed in faa25480356e48db3bea6663d81e1ad0715f6381