Skip to content

Commit 3028351

Browse files
committed
1 parent 7af16a5 commit 3028351

File tree

2 files changed

+59
-3
lines changed

2 files changed

+59
-3
lines changed

docs/modules/reference/pages/deploy/maven/maven-central.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
:deployer_id: mavenCentral
33
:deployer_name: MavenCentral
44
:deployer_url: pass:[https://central.sonatype.com/api/v1/publisher]
5+
:deployer_verify_url: pass:[https://repo1.maven.org/maven2/{{path}}/{{filename}}]
56
:default_auth: BEARER
67
:deployer_sys_key: mavencentral
78
:deployer_env_key: MAVENCENTRAL
@@ -23,6 +24,11 @@ YAML::
2324
----
2425
include::partial$deploy/maven/yaml/common-head.adoc[]
2526
27+
# URL for checking artifacts may be already deployed.
28+
# Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
29+
# icon:dot-circle[] icon:eye-slash[]
30+
verifyUrl: '{deployer_verify_url}'
31+
2632
# Registered publication namespace.
2733
# Defaults to `${project.java.groupId}`.
2834
# icon:dot-circle[]
@@ -51,6 +57,11 @@ TOML::
5157
----
5258
include::partial$deploy/maven/toml/common-head.adoc[]
5359
60+
# URL for checking artifacts may be already deployed.
61+
# Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
62+
# icon:dot-circle[] icon:eye-slash[]
63+
verifyUrl: "{deployer_verify_url}"
64+
5465
# Registered publication namespace.
5566
# Defaults to `${project.java.groupId}`.
5667
# icon:dot-circle[]
@@ -79,6 +90,11 @@ JSON::
7990
----
8091
include::partial$deploy/maven/json/common-head.adoc[]
8192
93+
// URL for checking artifacts may be already deployed.
94+
// Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
95+
// icon:dot-circle[] icon:eye-slash[]
96+
"verifyUrl": "{deployer_verify_url}",
97+
8298
// Registered publication namespace.
8399
// Defaults to `${project.java.groupId}`.
84100
// icon:dot-circle[]
@@ -108,6 +124,13 @@ Maven::
108124
----
109125
include::partial$deploy/maven/maven/common-head.adoc[]
110126
127+
<!--
128+
URL for checking artifacts may be already deployed.
129+
Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
130+
icon:dot-circle[] icon:eye-slash[]
131+
-->
132+
<verifyUrl>{deployer_verify_url}</verifyUrl>
133+
111134
<!--
112135
Registered publication namespace.
113136
Defaults to `${project.java.groupId}`.
@@ -145,6 +168,11 @@ Gradle::
145168
----
146169
include::partial$deploy/maven/gradle/common-head.adoc[]
147170
171+
// URL for checking artifacts may be already deployed.
172+
// Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
173+
// icon:dot-circle[] icon:eye-slash[]
174+
verifyUrl = "{deployer_verify_url}"
175+
148176
// Registered publication namespace.
149177
// Defaults to `${project.java.groupId}`.
150178
// icon:dot-circle[]

docs/modules/reference/pages/deploy/maven/nexus2.adoc

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:deployer_name: Nexus2
44
:deployer_url: pass:[https://s01.oss.sonatype.org/service/local]
55
:deployer_snapshot_url: pass:[https://s01.oss.sonatype.org/content/repositories/snapshots/]
6+
:deployer_verify_url: pass:[https://repo1.maven.org/maven2/{{path}}/{{filename}}]
67
:default_auth: BASIC
78
:deployer_sys_key: nexus2
89
:deployer_env_key: NEXUS2
@@ -32,6 +33,11 @@ include::partial$deploy/maven/yaml/common-head.adoc[]
3233
# icon:exclamation-triangle[] icon:eye-slash[]
3334
snapshotUrl: {deployer_snapshot_url}
3435
36+
# URL for checking artifacts may be already deployed.
37+
# Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
38+
# icon:dot-circle[] icon:eye-slash[]
39+
verifyUrl: '{deployer_verify_url}'
40+
3541
# Closes the staging repository.
3642
# Defaults to `false`.
3743
# icon:dot-circle[]
@@ -79,9 +85,14 @@ TOML::
7985
----
8086
include::partial$deploy/maven/toml/common-head.adoc[]
8187
82-
# URL where the {deployer_name} snapshots are enabled.
83-
# icon:exclamation-triangle[] icon:eye-slash[]
84-
snapshotUrl = "{deployer_snapshot_url}"
88+
# URL where the {deployer_name} snapshots are enabled.
89+
# icon:exclamation-triangle[] icon:eye-slash[]
90+
snapshotUrl = "{deployer_snapshot_url}"
91+
92+
# URL for checking artifacts may be already deployed.
93+
# Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
94+
# icon:dot-circle[] icon:eye-slash[]
95+
verifyUrl: "{deployer_verify_url}"
8596
8697
# Closes the staging repository.
8798
# Defaults to `false`.
@@ -134,6 +145,11 @@ include::partial$deploy/maven/json/common-head.adoc[]
134145
// icon:exclamation-triangle[] icon:eye-slash[]
135146
"snapshotUrl": "{deployer_snapshot_url}",
136147
148+
// URL for checking artifacts may be already deployed.
149+
// Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
150+
// icon:dot-circle[] icon:eye-slash[]
151+
"verifyUrl": "{deployer_verify_url}",
152+
137153
// Closes the staging repository.
138154
// Defaults to `false`.
139155
// icon:dot-circle[]
@@ -188,6 +204,13 @@ include::partial$deploy/maven/maven/common-head.adoc[]
188204
-->
189205
<snapshotUrl>{deployer_snapshot_url}</snapshotUrl>
190206
207+
<!--
208+
URL for checking artifacts may be already deployed.
209+
Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
210+
icon:dot-circle[] icon:eye-slash[]
211+
-->
212+
<verifyUrl>{deployer_verify_url}</verifyUrl>
213+
191214
<!--
192215
Closes the staging repository.
193216
Defaults to `false`.
@@ -256,6 +279,11 @@ include::partial$deploy/maven/gradle/common-head.adoc[]
256279
// icon:exclamation-triangle[] icon:eye-slash[]
257280
snapshotUrl = '{deployer_snapshot_url}'
258281
282+
// URL for checking artifacts may be already deployed.
283+
// Additional template tokens: `groupId`, `artifactId`, `version`, `path`, `filename`.
284+
// icon:dot-circle[] icon:eye-slash[]
285+
verifyUrl = "{deployer_verify_url}"
286+
259287
// Closes the staging repository.
260288
// Defaults to `false`.
261289
// icon:dot-circle[]

0 commit comments

Comments
 (0)