When I build using maven I see it checking all sort of foreign repositories for artifacts which only my local build should produce. How can I tell it that the com.myorg group c
You can try with passing the "-o" option to Maven. -o activates the "Offline mode", in which Maven doesn't query remote repositories to check for updates or new artifacts.
I don't think that you can specify this on a per-dependency basis.