[
https://issues.apache.org/jira/browse/OPENNLP-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041095#comment-13041095
]
Jörn Kottmann commented on OPENNLP-189:
---------------------------------------
It turned out that loading the MANIFEST.MF is not that easy, because it might
be loaded from the wrong jar file. To avoid these issues the opennlp-tools jar
now contains a version properties file, where maven injects the versino during
building.
If the development is done in an IDE without building a special development
version is used instead.
> Version class should output a version which is injected by the maven build
> --------------------------------------------------------------------------
>
> Key: OPENNLP-189
> URL: https://issues.apache.org/jira/browse/OPENNLP-189
> Project: OpenNLP
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Jörn Kottmann
> Fix For: tools-1.5.2-incubating
>
>
> The Version class currently outputs a hardcoded version, which need to
> manually be updated to the current version after every release, to eliminate
> this step the build should automatically inject the version of the
> opennlp-tools pom file.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira