I have a dual boot system with Windows and Linux. I have another partition which is visible to both Windows and Linux. I want to put my local repository there. How can I provide a path that both Linux and Windows will understand. Windows see it as d:/repository drive and Linux sees it as /media/234242342/repository. How should I configure this in pom.xml?
I have a dual boot system with Windows and Linux. I have another partition
Share
Each OS needs an
M2_HOMEas per the Maven documentation. Inside$M2_HOME/conf/you can put asettings.xmlfile and in that you can specify the location for the local repository using the<localRepository/>element.So for your specific system, in Windows use
and in Linux