Dienstag, 15. Oktober 2024

Updating Maven SNAPSHOT dependencies in Intellij

 Intellij 2024.2.3 (Ultimate Editon)


Sometimes updating SNAPSHOT dependencies in big projects just does not work. When something is changed in one workspace and a maven clean install is done, it can be  hard to get this in another workspace as updated dependency, at least in my experience.

What worked for me was the Maven Helper Plugin, where you get a "Dependency Analyzer" Tab for the pom file. There is a button "Reimport", which works fine to get the wanted updates for the SNAPSHOT dependencies.





Montag, 24. Juni 2024

Fix error message "Failed to retrieve application JMX service URL" in Intellij

 Intellij: 2024.1.3 (Ultimate Edition)


Just add "-Djava.rmi.server.hostname=localhost" as VM Option to your Run Configuration:





Search for a packaged jar in JFrog

 It always takes me some time in JFrog to find out where specific jars are used, so here a short instruction:


1. Go to Artifacts:




2. Open the filter and choose Type "Archive"

3. Put the name or part of the name of the jar, that usage you want to find out, into the name field:


That's it.