Skip to content

Instantly share code, notes, and snippets.

View maxdemaio's full-sized avatar
🥐

Maxwell DeMaio maxdemaio

🥐
View GitHub Profile
@maxdemaio
maxdemaio / pom.xml
Created January 29, 2022 15:32 — forked from timmolderez/pom.xml
Adding dependencies to local .jar files in pom.xml
If you'd like to use a .jar file in your project, but it's not available in any Maven repository,
you can get around this by creating your own local repository. This is done as follows:
1 - To configure the local repository, add the following section to your pom.xml (inside the <project> tag):
<repositories>
<repository>
<id>in-project</id>
<name>In Project Repo</name>
<url>file://${project.basedir}/libs</url>