Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

java - Error resolving plugin, You must specify a URL for a Maven repository

I have a problem after clone the repo, during first gredle built of my springboot project an error appear

Error resolving plugin [id: 'some plugin', version: 'plugin version']
> You must specify a URL for a Maven repository.

in my bulid.gradle file just written like this

plugins {
  id "some plugin" version "${PluginVersion}"
}

Do i have to do a setting. Im using Intelli J in this project. Thanks in Advance


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You need to specify url in repositories

 repositories {
   maven { url "http://maven.springframework.org/release" }
   maven { url "https://maven.fabric.io/public" }
 }

You have to specify the repository URL according to your need.

Check Gradle documentation for more.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...