Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the Java Build Path dialog box, click on the Libraries tab
  2. Click Add Variable
  3. Select M2_REPO and click OK
  4. Select the variable you just added and click Edit, then Extenstion
  5. 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)
  6. 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
    

...