Hi.
I am trying to use moe from Maven. I have found the Hello Maven example, but when I:
git clone https://github.com/multi-os-engine/moe-samples-java.git
cd moe-samples-java/HelloMaven
mvn clean install
it fails with followng message:
dependencies could not be resolved: Could not find artifact org.multi-os-engine:moe-maven:jar:1.3.1 in central (https://repo.maven.apache.org/maven2)
This error can be solved by adding plugin repository into the pom file:
--- a/ios/pom.xml
+++ b/ios/pom.xml
@@ -17,6 +17,13 @@
<moe.version>1.3.1</moe.version>
</properties>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jcentral</id>
+ <url>https://dl.bintray.com/multi-os-engine/maven</url>
+ </pluginRepository>
+ </pluginRepositories>
+
with that fix the example gets further, but still fails when I try cd ios; mvn moe:launch -X
the error is not really printed, this is the last few lines from the output:
[INFO] Injars: -Pmoe.proguard.injars=/prj/moe-samples-java/HelloMaven/ios/target/classes:/prj.m2/repository/org/multi-os-engine/common/1.0.0-SNAPSHOT/common-1.0.0-SNAPSHOT.jar
[INFO] nullUsing already downloaded SDK: /prj/.moe/moe-sdk-1.3.6
[INFO] :moeMainProGuard UP-TO-DATE
[INFO] :moeMainRetrolambda UP-TO-DATE
[INFO] :moeGenerateUIObjCInterfaces FAILED
[INFO]
[INFO] BUILD FAILED
Any advice welcomed.
-ds