You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2018/11/15 09:59:48 UTC
[sling-org-apache-sling-feature-analyser] branch SLING-8078_uses
created (now 73dac26)
This is an automated email from the ASF dual-hosted git repository.
simonetripodi pushed a change to branch SLING-8078_uses
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git.
at 73dac26 SLING-8078 - New Analyser task which is able to detect Export-Package dependencies between regions
This branch includes the following new commits:
new 73dac26 SLING-8078 - New Analyser task which is able to detect Export-Package dependencies between regions
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[sling-org-apache-sling-feature-analyser] 01/01: SLING-8078 - New
Analyser task which is able to detect Export-Package dependencies between
regions
Posted by si...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
simonetripodi pushed a commit to branch SLING-8078_uses
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git
commit 73dac26c3236220a09621f11862ad552f5f827ec
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Thu Nov 15 10:59:36 2018 +0100
SLING-8078 - New Analyser task which is able to detect Export-Package
dependencies between regions
s/requires/uses, according to the OSGi clausole
---
.../sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java b/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java
index fa35b39..5fb6e04 100644
--- a/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java
+++ b/src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependencies.java
@@ -72,7 +72,7 @@ public class CheckApiRegionsDependencies extends AbstractApiRegionsAnalyserTask
for (String uses : packageInfo.getUses()) {
if (hidingApis.contains(uses)) {
String errorMessage = String.format(
- "Bundle '%s' (defined in feature '%s') declares '%s' in the '%s' header, enlisted in the '%s' region, which requires '%s' package that is in the '%s' region",
+ "Bundle '%s' (defined in feature '%s') declares '%s' in the '%s' header, enlisted in the '%s' region, which uses '%s' package that is in the '%s' region",
bundleDescriptor.getArtifact().getId(),
ctx.getFeature().getId(),
exportedPackage,