Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Nils Breunese
I can’t comment on your question directly, but I just wanted to say that your use case sounds like it could benefit from the Maven Build Cache Extension (https://maven.apache.org/extensions/maven-build-cache-extension/). Just my 2 cents. Nils. > Op 6 feb 2024 om 11:40 heeft Joseph Leonard >

Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Joseph Leonard
Hi all, It would be great to get any thoughts on whether the following is a defect: Issue details: tl;dr Maven can resolve dependencies either from: * an external repo * a class directory of a module being built within the reactor * a packaged jar of a module being built within

Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Greg Chabala
My two cents: a very large monobuild with 100s of modules These are the kinds of problems you find when you're abusing the multi-module system. Multi-module builds are a last resort for me, when there are couplings between artifacts that need to be released simultaneously, e.g. API and

RE: Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Joseph Leonard
Thanks Nils, maven-build-cache-extension looks very interesting generally – I will have a play with it. With regards to this issue, the maven-build-cache-extension overview references “Subtree support for multimodule projects builds part of the codebase in isolation” which sounded similar to

RE: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Joseph Leonard
Note that my diagram formatting is very hard to read in the default formatting on this mailing list. If you view my email in 'raw source' then it is easier to understand! On 2024/02/06 10:40:14 Joseph Leonard wrote: > Hi all, > > It would be great to get any thoughts on whether the following is

Re: Can a plugin permit a dependency override by the user setting a simple option?

2024-02-06 Thread Jörg Schaible
Hi Alexander, On Tuesday, 6. February 2024, 02:39:09 CET Alexander Kriegisch wrote: > Jörg, > > I asked for a working example and not theory for a reason: The plugin > POM already uses properties, and it simply does not work to override > them. Since you seem to use a 3rd party parent, is it

RE: Invoking POJO test from batch file not working

2024-02-06 Thread Neil Aggarwal
Nevermind. I had the package name wrong. I used the package name from my main classes in addition to the test class. Sorry for the confusion. Thank you, Neil -- Neil Aggarwal, 972-834-1565, http://propfinancing.com We offer 30 year loans on single family houses! *From:* Neil

Re: How to completely override/replace parent's site.xml

2024-02-06 Thread Jörg Schaible
Hi Alexander, On Tuesday, 6. February 2024, 02:18:36 CET Alexander Kriegisch wrote: > Thanks Jörg, > > but that does not answer my question. I do not want to generate a site > for the parent. I am talking about the module using the parent POM. BTW, > the parent POM is not even under my control,

Invoking POJO test from batch file not working

2024-02-06 Thread Neil Aggarwal
I have a test class krazydad.slitherlink.SolverTest It has a method public void testRun() Reading the Maven page, that should be enough to run it as a POJO test. If I use this command line to invoke Maven: mvn test -Dtest=com._3dmathpuzzles.krazydad.slitherlink.SolverTest It does not

Re: Inconsistent dependency resolution behaviour for concurrent multi-module build can cause failures

2024-02-06 Thread Tamás Cservenák
Howdy, To me this looks like Maven is not aware that the App depends on ModuleB... Are they "plain dependency" linked? Or what kind of dependency we talk about here? In short: why would App start while ModuleB (upstream dep) is not done? Something is fishy here. T On Tue, Feb 6, 2024 at 11:40 

Re: How to completely override/replace parent's site.xml

2024-02-06 Thread Alexander Kriegisch
That you avoid it, does not mean that everyone does. It also is not about the parent POM, but the parent site.xml forced upon me. A POM is never a problem, because everything from a POM can be overridden in consuming projects. My question focuses on ways to override things I do not like in

Re: Can a plugin permit a dependency override by the user setting a simple option?

2024-02-06 Thread Alexander Kriegisch
3rd party parent? Are you maybe mixing up my questions about different topics? There is not parent POM involved here, it is about a plugin and an application using it. Very simple and straightforward. I even gave an example of what does not work for me but you say should. So does it? If you do