mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 06:18:46 +00:00
fix get maven url error...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
7845a8ace5
commit
8f79263a19
@ -12,7 +12,8 @@ public class PluginInfo {
|
||||
public String repo;
|
||||
|
||||
public String getMavenUrl() {
|
||||
return String.format(url + "/%1$s/%2$s/%3$s/%2$s-%3$s.jar", plugin.groupId.replace(".", "/"), plugin.artifactId, plugin.version);
|
||||
return String.format(url + (url.endsWith("/") ? "" : "/") + "%1$s/%2$s/%3$s/%2$s-%3$s.jar", plugin.groupId.replace(".", "/"),
|
||||
plugin.artifactId, plugin.version);
|
||||
}
|
||||
|
||||
public String getFileName() {
|
||||
|
Loading…
Reference in New Issue
Block a user