AnsweredAssumed Answered

Install Smack for Android to local Maven repository

Question asked by Jan Sarson on Jan 9, 2015
Latest reply on Jan 9, 2015 by Jan Sarson



I made some small changes in Smack library and need to try it. What is the right step-by-step solution?


Smack directory is in the same directory as my Android app (myAndroidApp/Smack).


I run:

1) ./../gradlew assemble # assemble ok

2) ./../gradlew compileAndroid # compile ok

3) ./../gradlew install # to upload lib to local maven repository, version is setup to snapshot


The last step finished with following error:

Could not publish configuration 'archives'
   > Error installing artifact 'org.igniterealtime.smack:smack-android:jar': Error installing artifact: /.m2/repository/org/igniterealtime/smack/smack-android


Is it any known issue? My local maven repository should be setup correctly.


Thank you for your help!