Added example local repository.
This commit is contained in:
parent
3c3a23b9f6
commit
ceceac34d7
2 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue