Re: The problem with the lack of documentation

2024-09-22 Thread Tamás Cservenák
Yes, those not in maven-api-impl are deprecated (should be marked as such). This is true for all classes that have counterpart (copy) in api-impl. T On Sun, Sep 22, 2024, 13:52 Martin Desruisseaux < martin.desruisse...@geomatys.com> wrote: > Hello > > I just realized that there is two "DefaultMo

Re: The problem with the lack of documentation

2024-09-22 Thread Martin Desruisseaux
Hello I just realized that there is two "DefaultModelPathTranslator" classes with almost identical code: one in the "maven-model-builder" module and one in the "maven-api-impl" module. I presume that one of them is deprecated in the favor of the other? If so, can we put a @Deprecated annotati

Re: The problem with the lack of documentation

2024-09-21 Thread Martin Desruisseaux
Le 2024-09-21 à 17 h 45, Tamás Cservenák a écrit : PR seems ok https://github.com/apache/maven/pull/1735 @Martin Desruisseaux pls confirm is this what you had in mind? Yes, this is my guess of what was intended. Thanks!     Martin ---

Re: The problem with the lack of documentation

2024-09-21 Thread Tamás Cservenák
PR seems ok https://github.com/apache/maven/pull/1735 @Martin Desruisseaux pls confirm is this what you had in mind? @Guillaume Nodet pls confirm the intent (and the assumption was it a bug, or we overlooked something?) T On Sat, Sep 21, 2024 at 4:57 PM Tamás Cservenák wrote: > > Lets see what

Re: The problem with the lack of documentation

2024-09-21 Thread Martin Desruisseaux
Le 2024-09-21 à 16 h 43, Tamás Cservenák a écrit : AFAIK, as I see, the point is that it nullifies if "default" value is present, and those come from corresponding super POM? Basically, keep only the non-default values? But just above that method, there is another method which performs the

Re: The problem with the lack of documentation

2024-09-21 Thread Tamás Cservenák
Lets see what this PR does https://github.com/apache/maven/pull/1735 I agree with Martin, it really looks "sus"... T On Sat, Sep 21, 2024 at 4:49 PM Guillaume Nodet wrote: > > AFAIK, the Model.pomFile is null when the model is not a « build” Pom, I.e. > is loaded from the local repository rathe

Re: The problem with the lack of documentation

2024-09-21 Thread Guillaume Nodet
AFAIK, the Model.pomFile is null when the model is not a « build” Pom, I.e. is loaded from the local repository rather than a project being built. Not sure if that applies here, I’m on phone… Le sam. 21 sept. 2024 à 16:43, Tamás Cservenák a écrit : > Howdy, > > AFAIK, as I see, the point is that

Re: The problem with the lack of documentation

2024-09-21 Thread Tamás Cservenák
Howdy, AFAIK, as I see, the point is that it nullifies if "default" value is present, and those come from corresponding super POM? https://github.com/apache/maven/tree/45f9b81b4a8451a75864ef1c861c5bb201a54790/maven-api-impl/src/main/resources/org/apache/maven/model Basically, keep only the non-de