You are here

How to build the SDK source code using Maven

This section describes how to build the SDK source code using Maven.
Ensure you have the necessary prerequisites installed such as Maven, and you have checked out the source code to a suitable directory.
  1. In a command prompt, change into the root of your SDK source code distribution, for example, ~/mobile_sdk/Android.
  2. Type the command to build the source code for the SDK:

    mvn clean install -DskipTests=true

    This will generate numerous Zip, JAR, APK, and APKLIB files. The main distribution Zip generated is in ./alfresco-mobile-android-client-api/alfresco-android-sdk-1.4.0.zip. This contains the four JAR file that you will need to copy into the libs folder of your Eclipse project to use the SDK.