eforx opened a new issue, #649:
URL: https://github.com/apache/maven-mvnd/issues/649

   In our CI pipeline, we call Maven Daemon in loop (single thread). Most of 
the time it works, but about 1 out of 50 times mvnd skips the target goal.
   
   Executed command: `mvnd 
org.apache.maven.plugins:maven-dependency-plugin:3.2.0:get 
-Dartifact=${mavenArtifactId} -ntp 
-Dmaven.repo.local=${pathToLocalMavenRepository}`
   
   Output log of single iteration looks like this
   ```
   [INFO] Processing build on daemon 39c6fb35
   [INFO] Scanning for projects...
   [INFO] BuildTimeEventSpy is registered.
   [INFO] Task segments : 
[org.apache.maven.plugins:maven-dependency-plugin:3.2.0:get]
   [INFO] Build maximum degree of concurrency is 1
   [INFO] Total number of projects is 1
   [INFO] 
   [INFO] ------------------< org.apache.maven:standalone-pom 
>-------------------
   [INFO] Building Maven Stub Project (No POM) 1
   [INFO] --------------------------------[ pom 
]---------------------------------
   [INFO] 
   [INFO] --- maven-dependency-plugin:3.2.0:get (default-cli) @ standalone-pom 
---
   [INFO] Resolving ${mavenArtifactId}:jar:1.2.3.4-SNAPSHOT with transitive 
dependencies
   [INFO] Segment walltime 0 s, segment projects service time 0 s, 
effective/maximum degree of concurrency 0.62/1
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  0.186 s
   [INFO] Finished at: 2022-05-11T16:02:15Z
   [INFO] 
------------------------------------------------------------------------
   ```
   
   while sometimes we got
   ```
   [INFO] Processing build on daemon 39c6fb35
   [INFO] Scanning for projects...
   [INFO] BuildTimeEventSpy is registered.
   [INFO] Task segments : 
[org.apache.maven.plugins:maven-dependency-plugin:3.2.0:get]
   [INFO] Build maximum degree of concurrency is 1
   [INFO] Total number of projects is 1
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  0.008 s
   [INFO] Finished at: 2022-05-11T16:02:15Z
   [INFO] 
------------------------------------------------------------------------
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to