mirror of
https://gitee.com/dcren/initializr.git
synced 2026-09-19 22:37:40 +08:00
Simply repository definition with Maven
Closes gh-782
This commit is contained in:
@@ -246,15 +246,16 @@
|
|||||||
<id>{{key}}</id>
|
<id>{{key}}</id>
|
||||||
<name>{{value.name}}</name>
|
<name>{{value.name}}</name>
|
||||||
<url>{{value.url}}</url>
|
<url>{{value.url}}</url>
|
||||||
|
{{#value.snapshotsEnabled}}
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>{{value.snapshotsEnabled}}</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
|
{{/value.snapshotsEnabled}}
|
||||||
</repository>
|
</repository>
|
||||||
{{/repositoryValues}}
|
{{/repositoryValues}}
|
||||||
</repositories>
|
</repositories>
|
||||||
{{/hasRepositories}}
|
{{/hasRepositories}}
|
||||||
{{^isRelease}}
|
{{^isRelease}}
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>spring-snapshots</id>
|
<id>spring-snapshots</id>
|
||||||
@@ -268,9 +269,6 @@
|
|||||||
<id>spring-milestones</id>
|
<id>spring-milestones</id>
|
||||||
<name>Spring Milestones</name>
|
<name>Spring Milestones</name>
|
||||||
<url>https://repo.spring.io/milestone</url>
|
<url>https://repo.spring.io/milestone</url>
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
{{/isRelease}}
|
{{/isRelease}}
|
||||||
|
|||||||
-7
@@ -53,12 +53,8 @@
|
|||||||
<id>spring-milestones</id>
|
<id>spring-milestones</id>
|
||||||
<name>Spring Milestones</name>
|
<name>Spring Milestones</name>
|
||||||
<url>https://repo.spring.io/milestone</url>
|
<url>https://repo.spring.io/milestone</url>
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>spring-snapshots</id>
|
<id>spring-snapshots</id>
|
||||||
@@ -72,9 +68,6 @@
|
|||||||
<id>spring-milestones</id>
|
<id>spring-milestones</id>
|
||||||
<name>Spring Milestones</name>
|
<name>Spring Milestones</name>
|
||||||
<url>https://repo.spring.io/milestone</url>
|
<url>https://repo.spring.io/milestone</url>
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
|
|||||||
@@ -49,9 +49,6 @@
|
|||||||
<id>foo-repository</id>
|
<id>foo-repository</id>
|
||||||
<name>foo-repo</name>
|
<name>foo-repo</name>
|
||||||
<url>https://example.com/foo</url>
|
<url>https://example.com/foo</url>
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>bar-repository</id>
|
<id>bar-repository</id>
|
||||||
|
|||||||
Reference in New Issue
Block a user