<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>3.4.2</version>
<scope>system</scope>
<!--本地jar的路径,相对或者绝对都可以-->
<systemPath>C:\Users\admin\Downloads\pagehelper-3.4.2.jar</systemPath>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>3.4.2</version>
<scope>system</scope>
<!--本地jar的路径,相对或者绝对都可以-->
<systemPath>C:\Users\admin\Downloads\pagehelper-3.4.2.jar</systemPath>
</dependency>
http://www.blogjava.net/fancydeepin/archive/2012/06/12/380605.html