...
- Define base properties:
groupId
edu.ucdavis.iet.kuali.rice
artifactId
ucd-kim-impl
packaging
jar
version
1.0.0
name
ucd-kim-impl
- Add dependency 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
xalan.version
2.4.0
iet-ldap-widget.version
1.0.0
- Add dependencies:
- Spring LDAP Core
- Spring
- Rice API
- Rice Implementation
- Common Lang
- DB OJB
- Servlet API
- Xalan-J
- IET LDAP Widget
- Add repository for Spring LDAP Core
Declare Spring Beans
Configure Dependencies on the Build Path
...
- In the Java Build Path dialog box, click on the Libraries tab
- Click Add External JARs
- Select the appropriate JAR from your file system (e.g. C:\JavaLib\spring-framework-2.5.5\dist\spring.jar)
- 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:
- Compile the source code by selecting Project -> *Build Project (alternatively, configure Eclipse to always Build Automatically)
- At the command prompt, create a JAR from the compiled code
:clean packageCode Block <workspace>\ucd-kim-impl> mvn
jar:jar
Info This is in lieu of com.sun.tools.javac.code.Symbol$CompletionFailure: file javax\persistence\Table.class not found error.