Do my code get uploaded into Maven repositories?

rouiz :

I'm pretty new to Maven and Javafx. I am doing a project which is not open source and I don't want my codes to be made public. I was wondering if by using Maven, my codes get uploaded into Maven repositories as archetypes or in any other way. If so, how can I stop it?

Thorbjørn Ravn Andersen :

No.

When you use Maven your code is packaged as jar files and put in your local repository (typically under .m2 in your home folder) on equal footing with the artifacts Maven downloads from the net.

Things only leave your machine if you explicitly upload it. For Maven Central that is a non-trivial process you cannot do by accident.

No reason to worry.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=374070&siteId=1