java - How to move Nexus maven repository index (nexus-maven-repository-index) to other directory (not temp) -
I am using a laptop with limited disk space and so I used the Nexus Maven repository index (automatically generated directory or From the default location of the temporary directory (such as the Windows Vista at C: \ User, \ AppData \ Local \ Temp) in Custom Locatin, the app is called the Nexus-Meven-repository-index by gz8276.dir or something similar). I am already using the Maven repository from the external HDD and it would also be good to keep the repository there.
How to disable or ask for an automatic index, configure (and configure) pointer should be stored in the specified directory.
I can prevent Indexing from Netbeans by selecting 'Index Update Frequency' - Never (Tool - Option - Missileus - Maven).
In the eclipse I have downloaded the 'Window - Preferences - Maven - Repository Index Update on Startup' (I'm using the Spring Tools suite and sometimes old Eclipse Juno), but this is not a help is.
From time to time, index is creating some temporary directories and it uses a lot of HDD space (it gets more GB).
You can download remote indexes and disable search for repositories, to reduce the size of the index Will be done. Otherwise, I would recommend moving the entire son-type-directory to work only in one place. Apart from this, you can use the scheduled work to clean the unused artifacts from repo to reduce the storage. And make sure to clean logs and such.
Comments
Post a Comment