Android Maven Repository

Document created by resplin Employee on Jun 6, 2015
Version 1Show Document
  • View in full screen mode

Obsolete Pages{{Obsolete}}

The official documentation is at: http://docs.alfresco.com



Android

Alfresco Android SDK and Alfresco Mobile Application for Android use specific third party library. Those libraries can be unavailable in Maven Central Repository or have a specific non-distribution clause. So If you plan to use Maven as build system, you need to import manually  those dependency inside your local (or your project/company) Maven Repository.

IMPORTANT : It's important to keep those dependencies internal at your project/company.


Android SDK Deployer


Samsung Mobile SDK 1.0.X


NB : You can also install Samsung Mobile SDK using Eclipse with this url : http://developer.samsung.com/smsdk/repository/samsung-sdk


  • Unzip the file in a specific location like 'samsung-sdk'
  • Open a command prompt and go to
    • samsung-sdk\Libs\pen (if install from zip file)
    • samsung-sdk\Samsung Mobile SDK\1.0.X\Libs\pen (if install from eclipse)
  • Execute the following command

mvn install:install-file -Dfile=pen-v1.0.X.jar -DgroupId=com.samsung.android.sdk -DartifactId=pen -Dversion=1.0.X -Dpackaging=jar
mvn install:install-file -Dfile=sdk-v1.0.X.jar -DgroupId=com.samsung.android -DartifactId=sdk -Dversion=1.0.X -Dpackaging=jar

NB : Don't forget to replace X value by the latest version from samsung sdk.

Attachments

    Outcomes