Skip to content

Commit

Permalink
[#81] Update Maven resolution doc
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Mesnil <[email protected]>
  • Loading branch information
jmesnil committed Jul 4, 2022
1 parent 7bfc165 commit b788ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ They consume channels by pulling the channel artifact corresponding to the `grou
A Maven artifact can be resolved through a channel.
Such a resolution will use the Maven repositories configured by the provisioning tool.
The channels will be searched for a stream that matches the `groupId`/`artifactId` of the artifact.
The channels will be searched in their listed order to find a stream that matches the `groupId`/`artifactId` of the artifact.

This comment has been minimized.

Copy link
@wolfc

wolfc Jul 4, 2022

Contributor

This breaks a lot of stuff, the latest artifact version from whatever channels are in use must be used.

This comment has been minimized.

Copy link
@jmesnil

jmesnil Jul 4, 2022

Author Member

The doc is in sync with the current behaviour.

You're right, using the latest version if multiple channels defines the same stream is the correct behaviour. I'll open a PR to change the behaviour

If a channel directly defines a stream that matches the groupId/artifactId of the artifact, the version will be resolved from this stream.
Expand Down

0 comments on commit b788ab5

Please sign in to comment.