force-oauth

Database.com SDK for Java

License

License

GroupId

GroupId

com.force.sdk
ArtifactId

ArtifactId

force-oauth
Last Version

Last Version

22.0.9-BETA
Release Date

Release Date

Type

Type

jar
Description

Description

force-oauth
Database.com SDK for Java
Project URL

Project URL

http://www.force.com/force-oauth/

Download force-oauth

How to add to project

<!-- https://jarcasting.com/artifacts/com.force.sdk/force-oauth/ -->
<dependency>
    <groupId>com.force.sdk</groupId>
    <artifactId>force-oauth</artifactId>
    <version>22.0.9-BETA</version>
</dependency>
// https://jarcasting.com/artifacts/com.force.sdk/force-oauth/
implementation 'com.force.sdk:force-oauth:22.0.9-BETA'
// https://jarcasting.com/artifacts/com.force.sdk/force-oauth/
implementation ("com.force.sdk:force-oauth:22.0.9-BETA")
'com.force.sdk:force-oauth:jar:22.0.9-BETA'
<dependency org="com.force.sdk" name="force-oauth" rev="22.0.9-BETA">
  <artifact name="force-oauth" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.force.sdk', module='force-oauth', version='22.0.9-BETA')
)
libraryDependencies += "com.force.sdk" % "force-oauth" % "22.0.9-BETA"
[com.force.sdk/force-oauth "22.0.9-BETA"]

Dependencies

compile (5)

Group / Artifact Type Version
com.force.api : force-partner-api jar [22.0.0, 22.1.0)
com.force.api : force-wsc jar [22.0.0, 22.1.0)
com.force.sdk : force-connector jar 22.0.9-BETA
com.googlecode.json-simple : json-simple jar 1.1
org.slf4j : slf4j-api jar 1.6.1

provided (1)

Group / Artifact Type Version
javax.servlet : servlet-api jar 2.5

Project Modules

There are no modules declared in this project.

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.

com.force.sdk

Salesforce Platform

APIs, tools, and frameworks for developers using the Salesforce Platform

Versions

Version
22.0.9-BETA
22.0.8-BETA
22.0.7-BETA
22.0.6-BETA
22.0.5-BETA
22.0.4-BETA
22.0.3-BETA
22.0.2-BETA