blob: 86981eb6251f3605869de6855d37b08dd2c0f878 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
(.module:
[lux #*
[data
[text
["%" format (#+ format)]]]
[world
[file (#+ Path)]
[net
["." uri (#+ URI)]]]]
["." // #_
["#." artifact (#+ Artifact)]])
(def: #export remote_file
Path
"maven-metadata.xml")
(def: #export (remote_artifact_uri artifact)
(-> Artifact URI)
(let [/ uri.separator]
(format (get@ #//artifact.group artifact)
/ (get@ #//artifact.name artifact)
/ (get@ #//artifact.version artifact)
/ ..remote_file)))
(def: #export (remote_project_uri artifact)
(-> Artifact URI)
(let [/ uri.separator]
(format (get@ #//artifact.group artifact)
/ (get@ #//artifact.name artifact)
/ ..remote_file)))
(def: #export local_file
Path
"maven-metadata-local.xml")
|