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
© 版权声明
THE END
暂无评论内容