[
https://issues.apache.org/jira/browse/SLING-8013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650274#comment-16650274
]
Karl Pauls commented on SLING-8013:
-----------------------------------
[~cziegeler], PTAL at
https://github.com/apache/sling-slingfeature-maven-plugin/pull/9 - I think this
makes some sense. Would look something like:
{noformat}
<execution>
<id>create-repository-min</id>
<goals>
<goal>repository</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<repositoryDir>artifacts-min</repositoryDir>
<includes>
<feature>
<groupId>org.apache.sling</groupId>
<artifactId>foo</artifactId>
<version>0.1.0-SNAPSHOT</version>
<type>slingfeature</type
<classifier>min</classifier>
</feature>
<feature>
<groupId>org.apache.sling</groupId>
<artifactId>bar</artifactId>
<version>0.1.0-SNAPSHOT</version>
<type>slingfeature</type>
<classifier>min</classifier>
</feature>
</includes>
<embed>
<artifact>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>6.0.1</version>
</artifact>
</embed>
</configuration>
</execution>
{noformat}
> Repository goal should take all features into account and allow to select
> specific features
> -------------------------------------------------------------------------------------------
>
> Key: SLING-8013
> URL: https://issues.apache.org/jira/browse/SLING-8013
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Priority: Major
> Fix For: slingfeature-maven-plugin 1.0.0
>
>
> The repository goal of the slingfeature maven plugin currently assembles all
> required artifacts for all assembled features of a project. It would be nice
> if it would by default assemble all artifacts for all features (assembled or
> not). Furthermore, there should be a way to select the features that should
> be taken into account (in order to create different assemblies for different
> feature sets). Ultimately, it would be nice if it allowed to add additional
> artifacts (like the framework and the launcher.api) so that one can create a
> complete assembly in one go.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)