I have added following repository to my maven configuration.
<repositories>
<repository>
<id>android</id>
<url>file://${env.ANDROID_HOME}/extras/android/m2repository</url>
</repository>
</repositories>
After that I have noticed that during build on Jenkins artifacts are installed in that repository instead in ~/.m2/repository
.
I can't reproduce the same behavior on my local machine.
How can I mark that repository as read only so that artifacts are installed in ~/.m2/repository
?