Merge branch 'fix_smssync' into 'master'

com.zegoggles.smssync: Fix build of latest version

Build, install and basic functionality tested.

Upstream issue for the missing dependencies in the pom.xml: https://github.com/jberkel/sms-backup-plus/issues/523

See merge request !503
This commit is contained in:
Boris Kraut 2015-01-16 23:27:46 +00:00
commit 59d7f5d08d

View file

@ -141,10 +141,11 @@ Build:1.5.8,1550
pushd $$PayMe$$ && \
$$MVN3$$ -Dmaven.test.skip=true install && \
popd && \
$$MVN3$$ install:install-file -DgroupId=android -DartifactId=android -Dversion=4.4_r1 -Dpackaging=jar -Dfile=$$SDK$$/platforms/android-19/android.jar
$$MVN3$$ install:install-file -DgroupId=android -DartifactId=android -Dversion=4.4_r1 -Dpackaging=jar -Dfile=$$SDK$$/platforms/android-19/android.jar && \
sed -i 's;<dependencies>;<dependencies>\n<dependency>\n<groupId>commons-io</groupId>\n<artifactId>commons-io</artifactId>\n<version>2.4</version>\n</dependency>\n;' pom.xml && \
sed -i 's;<dependencies>;<dependencies>\n<dependency>\n<groupId>org.apache.james</groupId>\n<artifactId>apache-mime4j-core</artifactId>\n<version>0.7.2</version>\n</dependency>\n;' pom.xml
Maintainer Notes:
* 1.5.8 builds locally, but might not do so on the BS due to gradle usage.
* Instead of using maven to deploy to .m2 repo, we can modify upstream's build.gradle:
uploadArchives {