Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

forcedotcom/java-sdk

Repository files navigation

NO LONGER MAINTAINED

This library is no longer maintained. Use wsc for building Java applications that connect to the Force.com SOAP API or Bulk API.

Database.com SDK for Java

For more information on how to use the Java SDK, please read our documentation at http://forcedotcom.github.com/java-sdk/force-sdk-overview

How to build

The Database.com SDK is built using Maven version 2.2.1. Make sure you have the correct version of Maven installed on your system before attempting to build.

Run the following maven command to build from source without running any tests

mvn clean install -DskipTests

Run the following maven command to build from source and run only unit tests

mvn clean install

In addition to unit tests, there are functional and integration tests located in the javasdk-test submodule. Before running the functional and integration tests, you'll need to supply test org credentials in the properties file javasdk-test/qa-utils/src/main/resources/force-sdk-test.properties

Run the following maven commands to compile and run all tests (unit, functional and integration)

mvn clean install -DskipTests -DincludeTestModules
mvn clean verify -DincludeTestModules

You can run specific test suites by changing your working directory to a test submodule directory, such as javasdk-test/force-jpa-test/ , and then running the following maven command

mvn verify

Keep in mind that you still must run mvn clean install -DskipTests -DincludeTestModules from the root directory of the project before running any tests in the javasdk-test submodules, otherwise tests may fail.

About

NO LONGER MAINTAINED: Database.com SDK for Java

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages