This is an automated email from the ASF dual-hosted git repository.

davidb pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e7a3bb  SLING-9461 Access Feature Model Aggregates as Files during 
Maven Build, even if they're not attached
     new 6d2918f  Merge pull request #53 from bosschaert/SLING-9461
3e7a3bb is described below

commit 3e7a3bbaa36e28195be564c9df52e6dc2e118327
Author: David Bosschaert <dav...@apache.org>
AuthorDate: Mon May 25 11:35:31 2020 +0100

    SLING-9461 Access Feature Model Aggregates as Files during Maven Build, 
even if they're not attached
---
 .../org/apache/sling/feature/maven/mojos/AggregateFeaturesMojo.java   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojo.java 
b/src/main/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojo.java
index 9166ce0..b987975 100644
--- 
a/src/main/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojo.java
+++ 
b/src/main/java/org/apache/sling/feature/maven/mojos/AggregateFeaturesMojo.java
@@ -147,10 +147,8 @@ public class AggregateFeaturesMojo extends 
AbstractIncludingFeatureMojo {
             if (aggregate.vendor != null) {
                 result.setVendor(aggregate.vendor);
             }
-            if (aggregate.attach) {
-                ProjectHelper.createTmpFeatureFile(project, result);
-            }
 
+            ProjectHelper.createTmpFeatureFile(project, result);
             ProjectHelper.setFeatureInfo(project, result);
 
             // Add feature to map of features

Reply via email to