You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2018/11/19 21:18:17 UTC
[GitHub] bosschaert opened a new pull request #9: SLING-8104 Avoid magic
when merging features
bosschaert opened a new pull request #9: SLING-8104 Avoid magic when merging features
URL: https://github.com/apache/sling-org-apache-sling-feature/pull/9
When merging artifacts/bundles, they need to be selected from a provided
override list if the artifact versions are not the same. The list has
the following syntax:
* `groupid1:artifactid1:<resolution>`
* `groupid2:artifactid2:<resolution>`
To apply the same override rule for all clashes, a wildcard using '*' for
groupID and artifactID can be used:
* `*:*:<resolution>`
means always select the same resolution in case of a clash.
Where `<resolution>` is one of the following:
* `ALL` - select all the artifacts
* `HIGHEST` - select only the artifact with the highest version number
* `LATEST` - select only the artifact provided latest
* `<version>` - select this specific version
When comparing version numbers these are converted to OSGi version
numbers and the OSGi version number ordering is applied.
When merging includes artifacts specified in the target feature
override all artifacts with the same group ID and artifact ID in the
included feature.
Both the included as well the target feature can have multiple artifacts
with the same group ID and artifact ID but different versions.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services