I noticed, that mvn -U idea:idea is marked as retired.
What is the replacement for that? Because, and maybe I'm doing something wrong, this is the most important functionality of IDEA IDE. From once per week to several times a day something happens, and 'the universe stop making any sense'.
Constructors are not being called, breakpoints aren't hit, etc. etc. Restarting/clearing caches/refreshing maven project/anything I know about and does not help ...
Only calling mvn -U idea:idea
in question cures this IDEA and we're back to normal.
Questions:
mvn -U idea:idea
we should use instead? Most probably this issues would be related to somewhere outside of clearable cache, holding old versions of dependencies and using them violating pom.xml etc.
This somehow survives externally called mvn clean, cache clearing, restarts... Any ideas on how to treat this issue would be also welcomed.
Import the project from pom.xml
, Reimport in the Maven projects tool window when needed or use the auto import option.
If you have any issues, perform the diagnostics and check the logs as described in this answer, submit a bug with the reproducible test case so that it can be fixed once and forever for your specific use case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With