New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to 3.11-SNAPSHOT #5095
Change to 3.11-SNAPSHOT #5095
Conversation
Can you describe the benefits of this change? Dependent projects can depend on the branch already without needed to change GeoNetwork version numbers. For example a dependent project can add <dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>domain</artifactId>
<version>[3.10,3.11)</version>
</dependency> to depend on GeoNetwork's |
With schema plugins using geonetwork as a parent, the 3.11-SNAPSHOT allows these to remain unchanged as each 3.11.0 and 3.11.1 release is made. Previously these would need to change from 3.11.0-SNAPSHOT to 3.11.1-SNAPSHOT. Also https://medium.com/@MichaKutz/legit-but-useless-maven-version-ranges-explained-d4ba66ac654 |
This is not the case, because it is not a dependency we are worried about ... it is the parent reference:
And the parent reference do not support versions. |
84df5b3
to
ae0b0e3
Compare
@jodygarnett I understand the nature of this change, but want to be sure that is change is fine, as we "loose" from the In all the docs I've seen (I'm not an expert in maven), I see like this versioning:
That is the current case in GeoNetwork. With the change it will be like:
In 3.10 the core-geonetwork/schemas/pom.xml Line 34 in d71ee16
core-geonetwork/schemas/iso19139/pom.xml Lines 5 to 9 in d71ee16
In If If it's not the same result, as long as the change doesn't make a wrong usage of version numbers (how is this handled in GeoServer for example?) and other developers are fine, it's ok for me. @fxprunayre any opinion about this? |
Replying to individual topics:
This is correct, there is no difference between
Yes making use of
Master also is required to add
It would not have the same result as The meaning of
The use of
It is handled in GeoServer in the same way as this pull-request: |
As I understand it schema plugin developers "liked" using Consider 3.10.0 release changes:
This is convent because schema plugin developers do not have to change their pom.xml each release. It is unstable as the artifact fetched for
To make this work developers build geonetwork locally each time. |
After this pull request the
This is convent because schema plugin developers do not have to change their pom.xml each time geonetwork releases, they only need to change when they wish to make a release. |
About my comment:
The point was to make sure that the usage of Thanks a lot for the detailed information about the issues to solve with this change. |
I would like to catch this PR promptly (ideally before schema plugins change to |
@josegar74 the release script changes should now be included here |
This allows dependent projects to depend on the branch, without interruption each time a release is made.
451c66d
to
70ff2bf
Compare
This allows dependent projects to depend on the branch, without interruption each time a release is made.
This is especially useful for schema plugins referencing geonetwork via parent, and transitive dependencies.
See #5096