先在pom.xml中添加一个资源:
再在添加一个依赖:
<repositories>
<repository>
<id>project.repo</id>
<name>Local dependencies for project</name>
<!-- <url>file://${project.basedir}/lib</url> -->
<url>file:${project.basedir}/repo</url>
</repository>
</repositories>
再在添加一个依赖:
<dependency>
<groupId>com.sina</groupId>
<artifactId>sae-local</artifactId>
<version>1.1.0</version>
</dependency>