sockets - How can I monitor network connections by maven and childs? -
we have maven project runs several integration tests. of tests involve spawning child processes hsqldb database, of maven plugins might opening socket connections places i'm not aware of. provokes when running tests in jailed environment of continuous integration server, lot's of logs of failed connections appears while in local machine goes smoothly.
how trace connections given maven script , childs opens?
see https://unix.stackexchange.com/questions/30046/logging-outgoing-connections-as-they-happen answers how trace network connections process.
but in case of maven, connections check status of snapshot
dependencies.
to fix those, should set maven proxy (like nexus) in network , tell maven resolve dependencies via said proxy. should reduce external connectivity 0.
also mvn -x
(enable debug mode) should help. write output log file , grep http:
.
Comments
Post a Comment