Maven artifact version for patches

前端 未结 3 1963
南笙
南笙 2021-02-09 19:32

I\'m currently working on Maven tools for Project Dash. One of the open issues is how to handle mistakes.

Maven central says: Nothing published ever changes. This is bec

3条回答
  •  执念已碎
    2021-02-09 20:20

    Maven project versions are specified like this.

    ..-
    

    As you do not want to change the version number you are looking for a qualifier. I do not know if there is a general recommendation for the name of the qualifier. The Spring people e.g. did something like this

    2.5.6.SEC01
    2.5.6.SR02
    3.0.0.M3
    

    They didn't use the hyphen/dash notation to seperate the qualifier.

    What ever you do, you have to be careful regarding the ordering of versions! Have a look at the first link I added.

    Update: Also have a look at @krzyk comment for recent changes/additions.

提交回复
热议问题