You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2014/08/22 21:22:13 UTC

[jira] [Resolved] (LUCENE-5898) Cleanup version handling in build files

     [ https://issues.apache.org/jira/browse/LUCENE-5898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe Schindler resolved LUCENE-5898.
-----------------------------------

    Resolution: Fixed

The last patch will not be backported, as 4.10 branch no longer changes.

> Cleanup version handling in build files
> ---------------------------------------
>
>                 Key: LUCENE-5898
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5898
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.11
>
>         Attachments: LUCENE-5898-2.patch, LUCENE-5898-2.patch, LUCENE-5898-2.patch, LUCENE-5898.patch
>
>
> We have still some duplicates in build files. RM must change the base version at many places after release.
> There is also a bug "Specification-Version:" in JAR files must be numeric only. So I sill set it to {{$\{version.base\}}} which is guaranteed to be numeric only. This is why we had the separate property in common-build. This needs to be fixed in 4.10 - not for relaese - but for development on release branch!
> This issue cleans a lot up:
> - Use spec.version with version.base as value
> - In Maven inject more version numbers, so RM does not need to change anything in POM templates
> - Remove useless attributes from some macros
> - Inject version numbers also to eclipse/idea/...
> - Don't define version properties a second time in root's build.xml (because it does not include common-build, its duplicated there - I will fix this, too)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org