Thursday, November 17, 2016

IntelliJ breakpoint and freezing of JVisualVM and JConsole

    Some time ago I had a situation where I had to use JVisualVM to check what happens within a test executed from IntelliJ and stopped on a breakpoint. JVisualVM had been hanging until I released the breakpoint. But why?

Sunday, November 6, 2016

File validation in Maven

Hi again after a long period of inactivity! Today's objective is to validate the files that are generated by an external system in JSON format. The files are stored under the umbrella of Maven submodule with packaging type set to POM. The external system is not perfect and sometimes it produces wrong JSONs. The application relies on these files and it is important to detect any problems as fast as possible - fail fast - by preventing a build to be successful if there is anything wrong in JSON.