(Need assistance)Failing to install OpenMRS SDK

Hello community, need some help on how i can properly install the OpenMRS sdk. Am using 64 bit OS, jdk 1.8,maven 3.6.0 and mysql 5.7 but when i run the the for installing the openmrs sdk in this link https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Requirements,,i have tried out different internet connections but i still get the same errors below .

Microsoft Windows [Version 6.1.7601] Copyright © 2009 Microsoft Corporation. All rights reserved.

C:\Users\Cliff>"%JAVA_HOME%/bin/java.exe" -version java version “1.8.0_131” Java™ SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot™ 64-Bit Server VM (build 25.131-b11, mixed mode)

C:\Users\Cliff>mvn -v Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41 7+03:00) Maven home: C:\Users\Cliff\Desktop\apache-maven-3.6.0-bin\apache-maven-3.6.0\b … Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: C:\Program Files ava\jdkk1.8.0_131\jre Default locale: en_US, platform encoding: Cp1252 OS name: “windows 7”, version: “6.1”, arch: “amd64”, family: “windows”

C:\Users\Cliff>mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sd [INFO] Scanning for projects… Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/mav /plugins/openmrs-sdk-maven-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.openmrs.maven.plugins:openmrs-sdk-ma n-plugin/maven-metadata.xml from/to central (https://repo.maven.apache.org/mav 2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.120.21 failed: Connection timed out: connect [INFO] ----------------------------------------------------------------------- [INFO] BUILD FAILURE [INFO] ----------------------------------------------------------------------- [INFO] Total time: 26.221 s [INFO] Finished at: 2019-01-28T08:45:31+03:00 [INFO] ----------------------------------------------------------------------- [ERROR] Error resolving version for plugin ‘org.openmrs.maven.plugins:openmrs- k-maven-plugin’ from the repositories [local (C:\Users\Cliff.m2\repository), ntral (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin pository -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e sw ch. [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 r d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginVersio esolutionException

C:\Users\Cliff>mvn openmrs-sdk:help [INFO] Scanning for projects… Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or e of its dependencies could not be resolved: Failed to read artifact descripto for org.apache.maven.plugins:maven-clean-plugin:jar:2.5 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-install-plugin:2.4: Plugin org.apache.maven.plugins:maven-install-plugin:2.4 r one of its dependencies could not be resolved: Failed to read artifact descr tor for org.apache.maven.plugins:maven-install-plugin:jar:2.4 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 o one of its dependencies could not be resolved: Failed to read artifact descrip r for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-site-plugin:3.3: Plugin org.apache.maven.plugins:maven-site-plugin:3.3 or on of its dependencies could not be resolved: Failed to read artifact descriptor r org.apache.maven.plugins:maven-site-plugin:jar:3.3 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 o one of its dependencies could not be resolved: Failed to read artifact descrip r for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-p gin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to rea artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2 eta-5 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-dependency-plugin:2.8: Plugin org.apache.maven.plugins:maven-dependency-plug :2.8 or one of its dependencies could not be resolved: Failed to read artifact escriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:ma n-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2 .3 or one of its dependencies could not be resolved: Failed to read artifact d criptor for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mo /maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/apache/mave plugins/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata. l from/to central (https://repo.maven.apache.org/maven2): Connect to repo.mave apache.org:443 [repo.maven.apache.org/151.101.16.215] failed: Connection timed ut: connect [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml fro to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apach org:443 [repo.maven.apache.org/151.101.16.215] failed: Connection timed out: c nect [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from ttps://repo.maven.apache.org/maven2 was cached in the local repository, resolu on will not be reattempted until the update interval of central has elapsed or pdates are forced. Original error: Could not transfer metadata org.apache.mave plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/mave ): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.16.215] ailed: Connection timed out: connect [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https: repo.maven.apache.org/maven2 was cached in the local repository, resolution wi not be reattempted until the update interval of central has elapsed or update are forced. Original error: Could not transfer metadata org.codehaus.mojo/mave metadata.xml from/to central (https://repo.maven.apache.org/maven2): Connect t repo.maven.apache.org:443 [repo.maven.apache.org/151.101.16.215] failed: Conne ion timed out: connect [INFO] ----------------------------------------------------------------------- [INFO] BUILD FAILURE [INFO] ----------------------------------------------------------------------- [INFO] Total time: 03:13 min [INFO] Finished at: 2019-01-28T09:27:57+03:00 [INFO] ----------------------------------------------------------------------- [ERROR] No plugin found for prefix ‘openmrs-sdk’ in the current project and in he plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from e repositories [local (C:\Users\Cliff.m2\repository), central (https://repo.m en.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e sw ch. [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 r d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoun orPrefixException

C:\Users\Cliff>

Sorry about it kindly try again with stable internet connection.

1 Like

Just in case you continue seeing error logs. trace through for any line reading as above, which will mean there is poor internet connection. Until this is not traceable, then its some other problem that may need to be addressed.

thansk, going to check it ou

thanks nathan