Added example local repository.

This commit is contained in:
Erik C. Thauvin 2016-07-21 20:12:13 -07:00
parent 3c3a23b9f6
commit ceceac34d7
2 changed files with 5 additions and 1 deletions

View file

@ -76,7 +76,7 @@ public class MavenLocalPlugin : BasePlugin(), ILocalMavenRepoPathInterceptor {
settings.userSettingsFile = File(userHome, ".m2/settings.xml")
val m2Home = System.getenv("M2_HOME")
if (m2Home != null) {
if (!m2Home.isNullOrBlank()) {
settings.globalSettingsFile = File(m2Home, "conf/settings.xml")
}