mirror of
https://gitee.com/dcren/initializr.git
synced 2026-02-26 13:43:15 +08:00
http -> https
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>io.spring.initializr</groupId>
|
||||
|
||||
@@ -59,8 +59,8 @@ class DependencyManagementBuildCustomizerTests {
|
||||
BillOfMaterials bom = BillOfMaterials.create("com.example", "foo-bom", "1.0.0");
|
||||
bom.getRepositories().add("bar-repo");
|
||||
InitializrMetadata metadata = InitializrMetadataTestBuilder.withDefaults().addBom("foo-bom", bom)
|
||||
.addRepository("foo-repo", "foo-repo", "http://example.com/foo", false)
|
||||
.addRepository("bar-repo", "bar-repo", "http://example.com/bar", false)
|
||||
.addRepository("foo-repo", "foo-repo", "https://example.com/foo", false)
|
||||
.addRepository("bar-repo", "bar-repo", "https://example.com/bar", false)
|
||||
.addDependencyGroup("test", dependency).build();
|
||||
Build build = createBuild(metadata);
|
||||
build.dependencies().add(dependency.getId());
|
||||
|
||||
Reference in New Issue
Block a user