An overview
The use of blister ding word breaker, found in the central warehouse did not paoding-analysis this jar package, and if it is only simple to get from other places to copy the jar package to the local warehouse does not, the Pom file still error, can not be imported into the project Classpath. You need to use MAVEN to import jar packages into the local repository, and you cannot do this manually. The following describes how to import a jar package that is not in a central warehouse into a local warehouse.
Two Environment
Windows 7
Apache Maven 3.1.1
three steps
1. The command format is as follows
MVN install:install-file
-dgroupid= package name
-dartifactid= project name
-dversion= version number
-dpackaging=jar
The path where the =jar file resides
2. Perform installation
MVN install:install-file-dfile=e:\javaee\ Development Library \paoding-analysis.jar-dgroupid=net.paoding-dartifactid= Paoding-analysis-dversion=2.0.4-beta-dpackaging=jar-dgeneratepom=true-dcreatechecksum=true
3.pom Dependency Settings
<dependency>
<groupId>net.paoding</groupId>
<artifactid>paoding-analysis</ artifactid>
<version>2.0.4-beta</version>
<scope>runtime</scope>
</ Dependency>
Original address: http://yeelor.iteye.com/blog/1646928