Giter Club home page Giter Club logo

Comments (4)

jdileonardo avatar jdileonardo commented on July 24, 2024

Would that mean allowMinorrUpdates is not respected either?

from versions.

uvsmtid avatar uvsmtid commented on July 24, 2024

@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.

stagrlee avatar stagrlee commented on July 24, 2024

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.

jdileonardo avatar jdileonardo commented on July 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.