I try to figure it out what the .repositories files are for.
I've just downloaded the dsol/dsol-xml/1.6.9 and in this folder there is a '_remote.repositories' file. Its content is:
#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
#Tue Sep 15 18:16:30 CEST 2015
dsol-xml-1.6.9.jar>simulation=
dsol-xml-1.6.9.pom>simulation=
What does this means?!
Thanks for your help!
What is a Maven Repository? In Maven terminology, a repository is a directory where all the project jars, library jar, plugins or any other project specific artifacts are stored and can be used by Maven easily.
There are 3 types of maven repository: Local Repository. Central Repository. Remote Repository.
m2 folder is the default folder used by maven to store its: settings. xml file which specifies properties, like the central repository to download your dependencies, the location of the so-called localRepository. by default, the localRepository in which maven stores all the dependencies your project might need to run.
A repository in Maven holds build artifacts and dependencies of varying types. There are exactly two types of repositories: local and remote: the local repository is a directory on the computer where Maven runs. It caches remote downloads and contains temporary build artifacts that you have not yet released.
Gist from the original answer
with Maven 3.0.x, when an artifact is downloaded from a repository, maven leaves a _maven.repositories file to record where the file was resolved from.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With