I follow this OwnCLoud WIKI to clone a maven android library :
therefore , maven-android-sdk-deployer
must be installed before:
When i reach the 3rd step ,I try this :
mvn -pl com.simpligility.android.sdk-deployer:android-19 -am install
However i get the following OUTPUT:
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Maven Android SDK Deployer
[INFO] Android Platforms
[INFO] Android Platform 4.4 API 19
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Android SDK Deployer 2.4.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ maven-android-sdk-deployer ---
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:
Check for Maven version >=3.1.1 failed. Upgrade your Maven installation.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven Android SDK Deployer ........................ FAILURE [1.073s]
[INFO] Android Platforms ................................. SKIPPED
[INFO] Android Platform 4.4 API 19 ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.216s
[INFO] Finished at: Tue Apr 15 12:42:53 AST 2014
[INFO] Final Memory: 19M/223M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce-maven) on project maven-android-sdk-deployer: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Known that i have already added the Android SDK 'tools/', and 'platforms-tools/' folders in environment path variable.
PATH=$PATH:/home/administrator/dev/adt-bundle-linux-x86_64-20140321/sdk/tools/:/home/administrator/dev/adt-bundle-linux-x86_64-20140321/sdk/platform-tools/
And Also :
export ANDROID_HOME=/home/administrator/dev/adt-bundle-linux-x86_64-20140321/sdk/
UPDATE :
Besdies, Android Support Library & Repository have been already installed