Skip to content

Building Repository

criffle edited this page Nov 16, 2015 · 16 revisions

Pre-build steps:

  • Ensure using jdk6
  • Set environment variable: MAVEN_OPTS=-Xms1024m -Xmx1536m -XX:PermSize=512m
  • Build separate project: Entity_Resolution_Resources
  • Copy ojb-certs/ to developer user.home/ directory(required to run tests)

Clone Repository:

git clone https://github.com/ojbc/main.git

Build from root directory:

mvn clean install -DskipTests

Import eclipse projects

select: File - Import Project - Maven Project - pom.xml(from ojb main repo root dir) This will import all the projects.

Optional

Build separate projects: [Entity_Resolution_Service_Intermediary] (https://github.com/ojbc/entity-resolution/tree/master/Entity_Resolution_Service_Intermediary), [Entity_Resolution_Service_Intermediary_OSGi] (https://github.com/ojbc/entity-resolution/tree/master/Entity_Resolution_Service_Intermediary_OSGi)

These projects are required to be built and deployed to an osgi container in order to run an ojb federated query, but they are not required to be built before building the ojb main repository

To run integration tests: run, from the repository root: mvn install -f integration-tests-pom.xml

Clone this wiki locally