Skip to content

Commit adc9de0

Browse files
committed
Njord attachments
1 parent 8a65c7d commit adc9de0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

content/en/docs/njord/what-is-it/_index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,20 @@ Differences are:
9898
Notes:
9999
* Resolver 2.x `file` transport supports `bundle:" protocol, see [here](https://github.com/apache/maven-resolver/tree/master/maven-resolver-transport-file).
100100
* Mimir supports "overlay" functionality, where it is able to overlay ZIP content over contents of remote repository caches, see this [Mimir IT](https://github.com/maveniverse/mimir/tree/main/it/extension-its/src/it/overlay).
101+
102+
## The `njord` attachments
103+
104+
Njord is able to add "attachments" to bundles. Those are opaque file-like contents added to stores.
105+
Store attachments are handled with following Mojos:
106+
107+
* `attachment-from-tile` adds store attachment from file user points at
108+
* `attachment-to-file` writes out store attachment to the file user points at
109+
* `attachment-delete` deletes a store attachment
110+
* `attachment-list` lists all store attachments
111+
112+
Attachments are meant to carry some "orthogonal" information to store (artifacts), like some metadata collected
113+
during the build and similar. Attachments may be handled by publisher, if it wants to. Currently no publisher
114+
handles attachments.
115+
116+
Hence, attachments are simply lost, for example when using `sonatype-cp` publisher, or when exporting
117+
store as "bundle". It is only the "transportable bundle" that carries over attachments.

0 commit comments

Comments
 (0)