Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven: Meaning of _remote.repositories file

Tags:

java

maven

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!

like image 512
mrbela Avatar asked Sep 15 '15 16:09

mrbela


People also ask

What are the maven repositories?

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.

What are the different types of maven repositories?

There are 3 types of maven repository: Local Repository. Central Repository. Remote Repository.

What is m2 repository in maven?

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.

What is maven repository ID?

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.


1 Answers

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.

like image 149
Rakesh Avatar answered Sep 27 '22 22:09

Rakesh