...
- In the Java Build Path dialog box, click on the Libraries tab
- Click Add Variable
- Select M2_REPO and click OK
- Select the variable you just added and click Edit, then Extenstion
- Select the appropriate JAR from the Maven repository hierarchy (e.g. spring-2.5.5.jar will be in org/spring/framework/spring/2.5.5)
- Repeat for all other dependencies
Info If the JAR you want is not already in your local Maven repository, you must install it using mvn:install
For example, to install Rice API and Rice Implementation:Code Block mvn install:install-file -DgroupId=org.kuali.rice -DartifactId=rice-api -Dversion=0.9.4-SNAPSHOT -Dpackaging=jar -Dfile=<workspace>rice-0.9.4\api\target\rice-api-0.9.4-SNAPSHOT.jar
Code Block mvn install:install-file -DgroupId=org.kuali.rice -DartifactId=rice-apiimpl -Dversion=0.9.4-SNAPSHOT -Dpackaging=jar -Dfile=<workspace>rice-0.9.4\impl\target\rice-impl-0.9.4-SNAPSHOT.jar
...