“-X” debug option would be the first step. If it was on Linux, you can try strace command to see what system call it is making (or not). I’m not sure about Windows.
In past, I encountered an infinite loop for very strange dependency tree. It’s rare and has been fixed in latest releases. But inifinite loop in Maven does exist. Regards, Tomo On Thu, Dec 1, 2022 at 17:56 Slawomir Jaranowski <s.jaranow...@gmail.com> wrote: > > > czw., 1 gru 2022 o 23:21 John Lilley > <john.lil...@redpointglobal.com.invalid> napisał(a): > >> Greetings, >> >> >> >> I have a maven build for a somewhat complex tree of projects, where I >> find that a multi-thread build will hang unless “clean” is done first. A >> single-thread build is fine. The hang seems to occur at one of the >> “Installing…” messages, but of course being multi-threaded it is unclear >> whether that is the proximal cause. Oddly, when it hangs, maven continues >> to consume a full CPU core, which indicates some sort of live-lock >> situation. >> >> >> > > “Installing…” ... > > Which version of maven-install-plugin do you use, if older one please > update to 3.1.0 > > > >> At this point, I have two questions: >> >> - Does someone recognize this as a known issue? >> - If not, please help me collect diagnostics so that I could submit a >> useful bug report. Can I enable verbose debug logging? When it hangs, >> would a jstack dump be helpful? >> >> >> >> Basic system info: >> >> $ mvn --version >> >> Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) >> >> Maven home: F:\bin\apache-maven >> >> Java version: 17.0.3, vendor: Eclipse Adoptium, runtime: C:\Program >> Files\Eclipse Adoptium\jdk-17.0.3.7-hotspot >> >> Default locale: en_US, platform encoding: Cp1252 >> >> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >> >> >> >> >> >> Thanks >> >> John >> >> >> >> [image: rg] <https://www.redpointglobal.com/> >> >> John Lilley >> >> Data Management Chief Architect, Redpoint Global Inc. >> >> 888 Worcester Street, Suite 200 Wellesley, MA 02482 >> <https://www.google.com/maps/search/888+Worcester+Street,+Suite+200+Wellesley,+MA+02482?entry=gmail&source=g> >> >> *M: *+1 7209385761 <+1%207209385761> | john.lil...@redpointglobal.com >> >> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is >> confidential and is intended solely for the use of the individual(s) to >> whom it is addressed. If you believe you received this e-mail in error, >> please notify the sender immediately, delete the e-mail from your computer >> and do not copy, print or disclose it to anyone else. If you properly >> received this e-mail as a customer, partner or vendor of Redpoint, you >> should maintain its contents in confidence subject to the terms and >> conditions of your agreement(s) with Redpoint. >> > > > -- > Sławomir Jaranowski > -- Regards, Tomo