Comments (4)
Would that mean allowMinorrUpdates is not respected either?
from versions.
@DiJu519, I guess it would.
I added new section "UPDATE: More tests" into issue main body. It thoroughly addresses your question. Look at the case "incremental=true: FAILURE" where property allowMinorUpdates
is set to false
while there are still changes in minor version number.
In fact, the way this plugin works breaks any assumptions. This makes me wonder if I even understand intentions of all these properties (or anyone uses its functionality at all).
from versions.
I did some testing on this as well with a repo with non-textual semantic versions (ie, no RC, BETA, ALPHA stuff), only numeric triples (xx.yy.zz) with some SNAPSHOTS and got good results, except if the upper bound was equivalent with a -SNAPSHOT. Since I think it is a bit different bug, I logged a separate issue #22
from versions.
@khmarbaise this may need to be re-opened
This same issue is present in the UseLatestSnapshots Goal.
Seems d214f34 fixed all but that goal.
Hitting it now locally
[DEBUG] (f) allowIncrementalUpdates = true
[DEBUG] (f) allowMajorUpdates = false
[DEBUG] (f) allowMinorUpdates = false
[DEBUG] (f) allowSnapshots = false
[DEBUG] (f) excludeReactor = true
[DEBUG] (f) generateBackupPoms = false
[DEBUG] (f) includesList =
[DEBUG] (f) localRepository = id: local
url: file:///home/jdileonardo/.m2/repository/
layout: default
snapshots: [enabled => true, update => always]
releases: [enabled => true, update => always]
[DEBUG] Looking for latest snapshot of A.B.C:D.E:jar:2.40.6
[INFO] Upper bound: 2.41.0
[DEBUG] Candidate versions [2.40.7-SNAPSHOT, 2.41.0-SNAPSHOT]
[INFO] Updated A.B.C:D.E:jar:2.40.6 to version 2.41.0-SNAPSHOT
from versions.
Related Issues (20)
- Need dependency updates listed to be limited by a restriction on another dependency. HOT 1
- display-plugin-updates shows downgrades HOT 1
- Should detect requireMavenVersion by rules not by id HOT 5
- Support build by JDK 21
- versions:set does behave wrong when parent version is the same as the version to be set
- Show multiple newer versions for each artifact
- ParserNotFoundException on dependency-updates-aggregate-report (2.16.2) HOT 2
- Add a ability to limit versions to Java version
- Disable all reports
- versions:update-parent 2.16.2 not respecting range when allowDowngrade is set to true
- Enhancement: Goal to update plugin versions. HOT 1
- Incorrect implementation of org.codehaus.mojo.versions.CompareDependenciesMojo#getRemoteMavenProject method HOT 1
- maven-jar-plugin update not discovered HOT 2
- Add goal that works with Maven CI Friendly Versions and set property (revision) based on git tag HOT 16
- [feature] EOL tracking with release date of current dependency version HOT 10
- update-properties takes a lot of time for some projects HOT 4
- compare-dependencies does not fail if remotePom is invalid HOT 1
- Can I change an ArtifactId? HOT 1
- parent profile dependency property is not associated
- Transitive Dependency Vulnerability - Dom4J 1.6.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from versions.