Re: Relax resolver for snapshots in offline mode

2024-03-27 Thread Tamás Cservenák
Delany, tried to recreate: https://github.com/cstamas/delany-ml-repro And I may miss something, but it works for me? T On Wed, Mar 27, 2024 at 1:31 PM Tamás Cservenák wrote: > Delany, > > What goal do you invoke to get this? "mvn validate"? > Do you have any plugin bound to this phase? > > T

Re: Relax resolver for snapshots in offline mode

2024-03-27 Thread Tamás Cservenák
Delany, What goal do you invoke to get this? "mvn validate"? Do you have any plugin bound to this phase? T On Tue, Mar 26, 2024 at 3:54 PM Delany wrote: > If a pom says it has a dependency "2.4.1-SNAPSHOT" then > I don't want the validation failing in offline mode because > "2.4.1-20240322.141

Re: Relax resolver for snapshots in offline mode

2024-03-26 Thread Delany
If a pom says it has a dependency "2.4.1-SNAPSHOT" then I don't want the validation failing in offline mode because "2.4.1-20240322.141808-12 has not been downloaded". Delany On Tue, 26 Mar 2024 at 16:15, Tamás Cservenák wrote: > Delany, > > What do you mean by "All SNAPSHOT versions are equal"

Re: Relax resolver for snapshots in offline mode

2024-03-26 Thread Tamás Cservenák
Delany, What do you mean by "All SNAPSHOT versions are equal"? T On Tue, Mar 26, 2024 at 10:33 AM Delany wrote: > Ok, I want to validate various aspects of the project without going network > since there are a lot of modules, some of them quite big, and they get > rebuilt every day, so its hun

Re: Relax resolver for snapshots in offline mode

2024-03-26 Thread Delany
Ok, I want to validate various aspects of the project without going network since there are a lot of modules, some of them quite big, and they get rebuilt every day, so its hundreds of Mb that get updated. I want to check the well-formedness of the pom.xml files, sort them, also run a yak4j-filenam

Re: Relax resolver for snapshots in offline mode

2024-03-26 Thread Tamás Cservenák
Howdy, you are conflating several things here: - timestamped snapshots are coming from remote (as locally installed ones are NOT timestamped), these snapshots can be resolved ONLY via metadata - artifact origin tracking: if artifact A was downloaded from repository R1, a subsequent build run on sa

Relax resolver for snapshots in offline mode

2024-03-25 Thread Delany
Hi, I have a bunch of plugins like enforcer that I want to run with `mvn validate -o` but I get Cannot access *repo* in offline mode and the artifact *artifact*:jar:2.4.1-20240322.141808-12 has not been downloaded from it before There are snapshots of that artifact available in local maven repo,