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 External JARs
  3. Select the appropriate JAR from your file system (e.g. C:\JavaLib\spring-framework-2.5.5\dist\spring.jar)
  4. Repeat for all other dependencies
    Tip
    • Method A works well if you want to perform the Maven builds yourself.
    • Method B works well if you use a continuous integration system like Bamboo to perform the Maven builds.

Build the JAR

Method A:
  1. Compile the source code by selecting Project -> *Build Project (alternatively, configure Eclipse to always Build Automatically)
  2. At the command prompt, create a JAR from the compiled code
    Code Block
    
    <workspace>\ucd-kim-impl> mvn
    :clean package
     jar:jar
    
    Info

    This is in lieu of com.sun.tools.javac.code.Symbol$CompletionFailure: file javax\persistence\Table.class not found error.

    Deploy to local Maven Repository

...