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

Uwe Schindler updated LUCENE-5898:
----------------------------------

    Attachment: LUCENE-5898-2.patch

This patch adds a version.properties file to lucene dir that defines the 
version. RM only has to change this file (version.base property).

This file is read by various build files, also the root one to create nightly 
smoker builds. We can use this meachnis also to remove more property 
duplication.

The only missing thing is now that those properties are used when 
idea/eclipse/... files are generated. I will look into this now.

> 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.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to