Created
October 17, 2019 11:54
-
-
Save FibreFoX/d9a5b9ad39efef0123f92f5626e9dd77 to your computer and use it in GitHub Desktop.
In-project Maven Repository (for private libs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- create "private_libs" as folder and put your private maven-dependencies there --> | |
<repositories> | |
<!-- in project repository, mostly for private libs --> | |
<repository> | |
<id>in-project</id> | |
<name>In Project Repo</name> | |
<url>file://${project.basedir}/private_libs</url> | |
<snapshots> | |
<enabled>true</enabled> | |
<updatePolicy>always</updatePolicy> | |
</snapshots> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>always</updatePolicy> | |
</releases> | |
</repository> | |
</repositories> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is useful in cases you need to add (transitive) dependencies to your project without the need to expose too much of your infrastructure to the other party working with your projects.