Mvn install -P ursim not working

I built the lightup urcap from the tutorial and followed the steps exactly as instructed. The code for the contribution, view and service are all correct and doublechecked. However, after adding the ursim path to the pom file install path section (/home/ur/ursim/ursim-5.6.0.90886/) (also tried: /home/ur/ursim/ursim-5.6.0.90886), when I use mvn install -P ursim, the URCap doesn’t show up in ursim at all. In fact, there is no urcaps category under the program tab. I’ve had this problem on multiple computers and I’m not sure what I could be doing wrong. It seems to build correctly from what I see in terminal (no errors, build successful).

Also, when I try “maven install”, again it builds correctly but I can’t find the URCap file. It claims to be putting it in the “.m2 repository”, but in file explorer I can’t navigate there.

If anyone can help with either issue I’d be really grateful (I’m an intern).

Please refer the following link.

https://forum.universal-robots.com/t/sample-urscript-communicator-examples/3093/7

If you cannot solve, can you upload here source code of example?
I want to verify your pom.xml.