DEV Community

Karthick Srinivasan
Karthick Srinivasan

Posted on • Edited on

Downloading Maven jars inside a project folder

Sometimes our environment will not support maven repo to download jars. So we can use our project's root directory as repo and add our jars over there by using the structure mentioned in the below in our pom.xml

<repository>
    <id>in-project</id>
    <name>In Project Repo</name>
    <url>file://${project.basedir}/libs</url>
</repository>

<dependency>
    <groupId>dropbox</groupId>
    <artifactId>dropbox-sdk</artifactId>
    <version>1.3.1</version>
</dependency>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)