Project: usergrid
Issue USERGRID-350: Cannot build Android SDK
I cannot build the Android SDK in Usergrid 1.0.1. Printouts with build_sdk_zip.sh modified with "-U" and "-e" options added ("mvn clean install -U -e"): ubuntu@ubuntu-VirtualBox:~/Downloads/incubator-usergrid-master/sdks/android$ ./build_release_zip.sh 0.0.8 [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/usergrid/usergrid/1.0.0/usergrid-1.0.0.pom [ERROR] The build could not read 1 project -> [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Could not find artifact org.apache.usergrid:usergrid:pom:1.0.0 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 27, column 10 org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364) org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672) org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663) org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250) org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) org.apache.maven.cli.MavenCli.main(MavenCli.java:157) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [ERROR] [ERROR] The project org.apache.usergrid:usergrid-android:0.0.8 (/home/ubuntu/Downloads/incubator-usergrid-master/sdks/android/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.usergrid:usergrid:pom:1.0.0 in central (http://repo.maven.apache.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 27, column 10 -> [Help 2] org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.apache.usergrid:usergrid:pom:1.0.0 in central (http://repo.maven.apache.org/maven2) org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159) org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:817) org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:669) org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:307) org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411) org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:380) org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:344) org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672) org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663) org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250) org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) org.apache.maven.cli.MavenCli.main(MavenCli.java:157) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.usergrid:usergrid:pom:1.0.0 in central (http://repo.maven.apache.org/maven2) org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459) org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262) org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239) org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295) org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155)	... 21 more Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.usergrid:usergrid:pom:1.0.0 in central (http://repo.maven.apache.org/maven2) org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012) org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004) org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725) org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:745) [ERROR] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException ubuntu@ubuntu-VirtualBox:~/Downloads/incubator-usergrid-master/sdks/android$
Story points: 3