A quick update... Found this cause+fix
https://github.com/microsoft/vscode-maven/issues/698
Hope it helps someone :)
Anand.

On Tue, Aug 6, 2024 at 8:36 PM Tsz Wo Sze <[email protected]> wrote:

> Hi Anand,
>
> Sorry I do not use vscode so I do not know if it would interfere with
> compilation.  From your experience, it seems the answer is "yes".  Are they
> sharing the same "target" directories?  vscode might be touching the binary
> output files at the same time.  Not sure.
>
> Tsz-Wo
>
>
> On Tue, Aug 6, 2024 at 4:14 AM Anand ngo <[email protected]> wrote:
>
>> Hello,
>> During one instance, I got
>>
>> "./mvnw clean package -DskipTests
>> *...*
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *[INFO] Apache Ratis ....................................... SUCCESS [
>>  1.325 s][INFO] Apache Ratis Documentation .........................
>> SUCCESS [  0.432 s][INFO] Apache Ratis Protocols
>> ............................. SUCCESS [  6.104 s][INFO] Apache Ratis Common
>> ................................ SUCCESS [  3.098 s][INFO] Apache Ratis
>> Client ................................ SUCCESS [  1.408 s][INFO] Apache
>> Ratis Server API ............................ SUCCESS [  1.181 s][INFO]
>> Apache Ratis Metrics API ........................... SUCCESS [  0.621
>> s][INFO] Apache Ratis Metrics Default Implementation ........ SUCCESS [
>>  1.241 s][INFO] Apache Ratis Server ................................
>> SUCCESS [  3.999 s][INFO] Apache Ratis - Resource Bundle
>> ..................... SUCCESS [  0.058 s][INFO] Apache Ratis gRPC Support
>> .......................... SUCCESS [  1.337 s][INFO] Apache Ratis Netty
>> Support ......................... SUCCESS [  1.760 s][INFO] Apache Ratis
>> Shell ................................. SUCCESS [  1.056 s][INFO] Apache
>> Ratis Test .................................. FAILURE [  1.370 s][INFO]
>> Apache Ratis Tools ................................. SKIPPED"*
>>
>> Immediately rerunning it, fails sooner (not sure why) -
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *"[INFO] Apache Ratis ....................................... SUCCESS [
>>  1.006 s][INFO] Apache Ratis Documentation .........................
>> SUCCESS [  0.361 s][INFO] Apache Ratis Protocols
>> ............................. SUCCESS [  6.285 s][INFO] Apache Ratis Common
>> ................................ SUCCESS [  4.146 s][INFO] Apache Ratis
>> Client ................................ SUCCESS [  1.689 s][INFO] Apache
>> Ratis Server API ............................ SUCCESS [  1.530 s][INFO]
>> Apache Ratis Metrics API ........................... SUCCESS [  0.769
>> s][INFO] Apache Ratis Metrics Default Implementation ........ SUCCESS [
>>  1.155 s][INFO] Apache Ratis Server ................................
>> FAILURE [  3.670 s][INFO] Apache Ratis - Resource Bundle
>> ..................... SKIPPED[INFO] Apache Ratis gRPC Support
>> .......................... SKIPPED[INFO] Apache Ratis Netty Support
>> ......................... SKIPPED*
>> *..."*
>>
>> I closed vscode where I had the project open and it compiled just fine.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *[INFO] Apache Ratis Server ................................ SUCCESS [
>>  3.231 s][INFO] Apache Ratis - Resource Bundle .....................
>> SUCCESS [  0.052 s][INFO] Apache Ratis gRPC Support
>> .......................... SUCCESS [  1.370 s][INFO] Apache Ratis Netty
>> Support ......................... SUCCESS [  1.125 s][INFO] Apache Ratis
>> Shell ................................. SUCCESS [  0.913 s][INFO] Apache
>> Ratis Test .................................. SUCCESS [  1.840 s][INFO]
>> Apache Ratis Tools ................................. SUCCESS [  0.369
>> s][INFO] Apache Ratis Examples .............................. SUCCESS [
>>  3.158 s][INFO] Apache Ratis Replicated Map ........................
>> SUCCESS [  0.063 s][INFO] Apache Ratis Metrics Dropwizard 3 Implementation
>> ... SUCCESS [  0.723 s][INFO] Apache Ratis Project Assembly
>> ...................... SUCCESS [  1.788 s][INFO]
>> ------------------------------------------------------------------------[INFO]
>> BUILD SUCCESS[INFO]
>> ------------------------------------------------------------------------[INFO]
>> Total time:  25.080 s*
>>
>> Does vscode interfere with compilation ? Any suggestions ?
>>
>> Thanks.
>> Anand
>>
>>

Reply via email to