Hi all, I am currently working on a `go lang` application which will be used to provision a server (written in `Java`) by building a given `pom.xml` file. Since `Java` is required for running the server, we can assume that the running system is already having `Java` installed, but it could or could not have `maven` installed.
So without installing `maven` or setting `M2_HOME` in `$PATH` variable of the running system, the `go` application is written in such a way that it uses a exploded `maven` distribution in a specific location for performing the build. Although `maven` build runs as a daemon process in the above scenario, it creates the `.m2` repo at the current user's home by default. What will be best option for location of `.m2` repo out of following, 1. Place `.m2` repo at the place where the application runs (can be configured using `settings.xml`) 2. Place `.m2` repo at the current user's home. Your thoughts on the above are highly appreciated. Thanks -- *Regards,* *Kasun Siyambalapitiya* *Software Engineer* WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware Tel : 0715523466 E mail : [email protected] Blog: https://medium.com/@kasunsiyambalapitiya <https://wso2.com/signature>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
