You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2019/12/05 22:28:06 UTC
[sling-slingfeature-maven-plugin] 01/01: SLING-8873 - Validate the
sourceId property at build time
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch feature/SLING-8873
in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
commit 33b9d944d98306f09a839bec26b9c59046c5445c
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Dec 5 14:30:08 2019 +0100
SLING-8873 - Validate the sourceId property at build time
Include the apis-jar check by default.
---
pom.xml | 2 +-
.../java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index b3f13fe..3e340d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -169,7 +169,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.feature.analyser</artifactId>
- <version>1.2.0</version>
+ <version>1.2.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
diff --git a/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java b/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java
index d3ef86d..7775b4e 100644
--- a/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java
+++ b/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java
@@ -113,6 +113,7 @@ public class AnalyseFeaturesMojo extends AbstractIncludingFeatureMojo {
includedTasks = new HashSet<>();
includedTasks.add("bundle-packages");
includedTasks.add("requirements-capabilities");
+ includedTasks.add("apis-jar");
if (an.getExcludeTasks() != null) {
includedTasks.removeAll(an.getExcludeTasks());
if (includedTasks.isEmpty()) {