Rename artifact-namespace & artifact-name
...to group-id and artifact-id
This commit is contained in:
parent
66cef075e8
commit
8de742d231
1 changed files with 4 additions and 4 deletions
|
@ -49,13 +49,13 @@
|
|||
[profile]
|
||||
(vector? profile))
|
||||
|
||||
(defn artifact-namespace
|
||||
(defn group-id
|
||||
[id]
|
||||
(if (string? id)
|
||||
(first (str/split id #"/"))
|
||||
(or (namespace id) (name id))))
|
||||
|
||||
(defn artifact-name
|
||||
(defn artifact-id
|
||||
[id]
|
||||
(if (string? id)
|
||||
(last (str/split id #"/"))
|
||||
|
@ -63,8 +63,8 @@
|
|||
|
||||
(defn artifact-map
|
||||
[id]
|
||||
{:artifact-id (artifact-name id)
|
||||
:group-id (artifact-namespace id)})
|
||||
{:artifact-id (artifact-id id)
|
||||
:group-id (group-id id)})
|
||||
|
||||
(defn exclusion-map
|
||||
"Transform an exclusion vector into a map that is easier to combine with
|
||||
|
|
Loading…
Reference in a new issue