The question is, I want to add the .jar library to the maven project so that jenkins is going to be fine.
Accordingly, 2 questions:
I read the article https://habrahabr.ru/company/lanit/blog/323008/ maven compiled it, I wrote it in pom.xml dependecy, I didn’t quite understand the moment:
Letting the project know that the repository exists, and show where it is located, you can already described method, however, adjusted for the fact that the repository is local.
<repositories> <repository> <id>localrep</id> <name>local repository</name> <url>file:${project.basedir}/lib</url> </repository> </repositories>Can you please tell by example what to write here - it seems to be working now, but the search, as I understand it, does on a computer with jenkins, i.e. in
file:${project.basedir}we specify the path to the local computer used.
How to make it download from another computer?And from here comes the second question - if you need a folder with a “repository” that is open for internal locking, can you share it and specify it in
<url></url>?