1. Create a directory under your project, say "lib".
2. Use Maven to install your jar to the lib directory.
mvn install:install-file -DgroupId=com.baidu -DartifactId=bccs-api-lib -Dversion=2.0.1 -Dpackaging=jar -Dfile=bccs-api-lib-2.0.1.jar -DlocalRepositoryPath=D:\svn\go_backend\lib
3. Setup your POM like this.
<repositories>
<repository>
<!-- DO NOT set id to "local" because it is reserved by Maven -->
<id>lib</id>
<url>file://${project.basedir}/lib</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.baidu</groupId>
<artifactId>bccs-api-lib</artifactId>
<version>2.0.1</version>
</dependency>
...
Now you can check in/out bccs-api-lib-2.0.1.jar just like any other file in your project and Maven will manage the dependency on mylib.jar just like any other dependency artifact. Perfect harmony. :-)