Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Spring引导应用程序中使用Gradle将Nexus用作依赖项解析程序_Spring_Spring Boot_Gradle_Nexus_Nexus3 - Fatal编程技术网

在Spring引导应用程序中使用Gradle将Nexus用作依赖项解析程序

在Spring引导应用程序中使用Gradle将Nexus用作依赖项解析程序,spring,spring-boot,gradle,nexus,nexus3,Spring,Spring Boot,Gradle,Nexus,Nexus3,我正在使用spring boot开发应用程序,我正在使用gradle作为构建工具,我想配置gradle来解决它们的依赖关系,而不是maven central或jcenter转到我的本地nexus服务器从它们的和构建项目中获取所有依赖关系。我没有找到任何配置 在build.gradle中添加您的nexus url repositories { // mavenLocal() // mavenCentral() // jcenter() //maven { url 'http

我正在使用spring boot开发应用程序,我正在使用gradle作为构建工具,我想配置gradle来解决它们的依赖关系,而不是maven central或jcenter转到我的本地nexus服务器从它们的和构建项目中获取所有依赖关系。我没有找到任何配置

在build.gradle中添加您的nexus url

repositories {
   // mavenLocal()
   // mavenCentral()
   // jcenter()
   //maven { url 'http://10.9.0.31:8099/repository/maven-public/' }
    maven { url 'http://ip:port/repository/maven-public/' }
}

对于nexus配置

此链接未打开。。请分别粘贴完整链接。如何上传nexus中的所有jar依赖项