Versions Compared

Key

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

...

  • Eclipse
  • Local Maven Repository
  • Rice Foundation Codebase
  • Maven (M2_REPO)
  • JDK

Development Environment

Build Sheet

Create Maven Project

Configure POM

...

  1. At a command prompt, navigate to your <workspace> (e.g. C:\Development\KualiRice.workspace)
  2. Create a web application project using the maven-archetype-quickstart archetype
    Code Block
    
    <workspace> mvn archetype:create -DgroupId=edu.ucdavis.iet.kuali.rice -DartifactId=ucd-kim-impl -DarchetypeArtifactId=maven-archetype-quickstart
    
    Info

    This creates a directory named ucd-kim-impl (after the artifactId) in your <workspace>

  3. Navigate to the ucd-kim-impl subdirectory and generate the Eclipse project
    Code Block
    
    <workspace>\ucd-kim-impl> mvn eclipse:eclipse
    

Import into Eclipse

  1. Go to File -> Import -> Existing projects into Workspace
  2. Select <workspace>\ucd-kim-impl as the root directory and click Finish

Configure POM

  1. Add dependency version properties:

    spring.version

    2.0.4

    spring-ldap.version

    1.3.0.RELEASE

    commons-lang.version

    2.3

    rice-api.version

    0.9.4-SNAPSHOT

    rice-impl.version

    0.9.4-SNAPSHOT

    db-ojb.version

    1.0.4-patch2

    servlet-api.version

    2.4

  2. Add repository for Spring LDAP Core
  3. Add dependencies for:
    • Spring LDAP Core
    • Spring
    • Rice API
    • Rice Implementation
    • Common Lang
    • DB OJB
    • Servlet API

Configure Dependencies on the Build Path

Build the JAR

Deploy to local Maven Repository

...