You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Jörn Kottmann (JIRA)" <ji...@apache.org> on 2011/05/30 11:31:47 UTC

[jira] [Created] (OPENNLP-189) Version class should output a version which is injected by the maven build

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


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

[jira] [Commented] (OPENNLP-189) Version class should output a version which is injected by the maven build

Posted by "Jörn Kottmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041063#comment-13041063 ] 

Jörn Kottmann commented on OPENNLP-189:
---------------------------------------

The implementation should retrieve the MANIFEST.MF and parse the specified version. It should also be extended to contain the snapshot part of the version. 

> 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
>
> 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

[jira] [Closed] (OPENNLP-189) Version class should output a version which is injected by the maven build

Posted by "Jörn Kottmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann closed OPENNLP-189.
---------------------------------

       Resolution: Fixed
    Fix Version/s: tools-1.5.2-incubating
         Assignee: Jörn Kottmann

> 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
>            Assignee: 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

[jira] [Commented] (OPENNLP-189) Version class should output a version which is injected by the maven build

Posted by "Jörn Kottmann (JIRA)" <ji...@apache.org>.
    [ 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