fix(java): pre-release versions installed for jackson dependencies#4983
fix(java): pre-release versions installed for jackson dependencies#4983mergify[bot] merged 4 commits intoaws:mainfrom
Conversation
The version range excluded 2.19.0 so the latest version `2.19.0-rc2` is used. This version has bugs.
|
The title of this Pull Request does not conform with [Conventional Commits] guidelines. It will need to be adjusted before the PR can be merged. |
|
Relates to #4982 |
|
Looking at the other dependencys, I wonder if the closing paranthesis is really what is intended. Probably also with the other dependencies, a closing bracket makes sense? |
|
@michaelmejaeger thanks for the PR. I'm not a maven expert, but I think the intention was to say that this works with Is there a better way to indicate the above intention? We can probably also go to the latest |
|
@mrgrain Okay, if this was the intention, then you could use the range I am not sure, what is the best solution here, since I do not fully understand the intention here. I understand that a minimum version is required. But is there a maximum version lower than P. S.: If you want to play around with version numbers and version ranges then you can use the following JBang script: //usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS org.apache.maven:maven-artifact:3.9.6
import org.apache.maven.artifact.versioning.ComparableVersion;
import org.apache.maven.artifact.versioning.VersionRange;
import org.apache.maven.artifact.versioning.ArtifactVersion;
public class VersionInRange {
public static void main(String[] args) throws Exception {
if (args.length != 2) {
System.err.println("Usage: jbang VersionInRange.java <version> <versionRange>");
System.exit(1);
}
String versionStr = args[0];
String rangeStr = args[1];
ComparableVersion version = new ComparableVersion(versionStr);
VersionRange range = VersionRange.createFromVersionSpec(rangeStr);
ArtifactVersion artifactVersion = new org.apache.maven.artifact.versioning.DefaultArtifactVersion(versionStr);
boolean inRange = range.containsVersion(artifactVersion);
System.out.println("Version " + versionStr + " is " + (inRange ? "IN" : "NOT IN") + " range " + rangeStr);
}
} |
I was about to suggest that as well, fun to see that my hacky though process aligns with how it should be done. I think we could probably also go for |
No, I think that would be the goal. What I meant is that at the time If |
According to the discussion in the PR, we set the maximum version number to 2.99999.0, ie. every new Version number in Version 2.
|
I fixed the PR accordingly to the upper version number |
rix0rrr
left a comment
There was a problem hiding this comment.
Cheers, let's do this then!
Pull request has been modified.
|
Nice, thank you! There's a build issue I need to look at and fix. I'll get back to this. |
node 18 is EOL since April 2025 it will be EOS for jsii & CDK after 30th Nov 2026 fine to remove this test now
Pull request has been modified.
|
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
|
Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it! |
|
Merging (with squash)... |
The version range excluded 2.19.0 so the latest version
2.19.0-rc2is used. This version has bugs.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.